All of lore.kernel.org
 help / color / mirror / Atom feed
* "git pull" doesn't respect --work-tree parameter
@ 2010-12-21 16:04 Alexey Zakhlestin
  2010-12-22 11:20 ` Nguyen Thai Ngoc Duy
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Zakhlestin @ 2010-12-21 16:04 UTC (permalink / raw)
  To: git

I am trying to use the following command:

git '--git-dir=/path/to/repository/.git' '--work-tree=/path/to/repository' pull

and get this error:
"git-pull cannot be used without a working tree"

I get the same error, if I try to use corresponding environment variables


looks like a bug, because I can, successfully, use "git status" with
the same --git-dir and --work-tree parameters

-- 
Alexey Zakhlestin, http://twitter.com/jimi_dini
http://www.milkfarmsoft.com/

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

end of thread, other threads:[~2010-12-22 11:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 16:04 "git pull" doesn't respect --work-tree parameter Alexey Zakhlestin
2010-12-22 11:20 ` Nguyen Thai Ngoc Duy
2010-12-22 11:40   ` Alexey Zakhlestin
2010-12-22 11:42     ` Andreas Ericsson
2010-12-22 11:44     ` Nguyen Thai Ngoc Duy
2010-12-22 11:50       ` Alexey Zakhlestin
2010-12-22 11:55         ` Nguyen Thai Ngoc Duy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.