Use subshell and 'cd' instead of --git-dir and --work-tree for 'git pull'.
authorW. Trevor King <wking@drexel.edu>
Wed, 30 Nov 2011 21:08:33 +0000 (16:08 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 30 Nov 2011 21:08:33 +0000 (16:08 -0500)
commite0b7d85e30f9712686642f866a4d65aa45e3d278
tree6ac983b5533fe3b8ba8aa9577e7090063db100e5
parentd89e6567cc004893afc2b53a33d8754869fa51c6
Use subshell and 'cd' instead of --git-dir and --work-tree for 'git pull'.

I was getting:
  git-pull cannot be used without a working tree
Possibly a bug in git, but using a subshell is simple enough.
dotfiles.sh