On Thu, Oct 13, 2011 at 7:38 PM, Kirill Likhodedov <kirill.likhodedov@xxxxxxxxxxxxx> wrote: > > 'git pull' doesn't work from outside the working tree even if '--work-tree' is specified: > > # git version > git version 1.7.6 > # git --git-dir=/Users/loki/sandbox/git/child/.git --work-tree=/Users/loki/sandbox/git/child pull > fatal: /opt/local/libexec/git-core/git-pull cannot be used without a working tree. > > Note that 'git fetch' and 'git merge origin/master' work fine, so 'git pull' should be easy to fix :) Not exactly. git-pull is a shell script and may have problems that a builtin command like git-fetch never has. An "easy" way is to just build git-pull in. I have such a (stalled) WIP since May. Thanks for reminding me to finish my work :) -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html