git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug] git pull doesn't recognize --work-tree parameter
@ 2011-10-13  8:38 Kirill Likhodedov
  2011-10-13 10:55 ` Nguyen Thai Ngoc Duy
  2011-10-13 15:59 ` Jeff King
  0 siblings, 2 replies; 10+ messages in thread
From: Kirill Likhodedov @ 2011-10-13  8:38 UTC (permalink / raw)
  To: git


'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 :)

# git --git-dir=/Users/loki/sandbox/git/child/.git --work-tree=/Users/loki/sandbox/git/child merge origin/master
Already up-to-date.


----------------------------------
Kirill Likhodedov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-18  6:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13  8:38 [Bug] git pull doesn't recognize --work-tree parameter Kirill Likhodedov
2011-10-13 10:55 ` Nguyen Thai Ngoc Duy
2011-10-13 15:59 ` Jeff King
2011-10-13 18:01   ` Junio C Hamano
2011-10-13 18:37     ` Jeff King
2011-10-13 19:06       ` Junio C Hamano
2011-10-13 19:14         ` Jeff King
2011-10-13 19:44           ` Jeff King
2011-10-18  6:34             ` Junio C Hamano
2011-10-13 20:48           ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).