From: Alexey Zakhlestin <indeyets@gmail.com>
To: git <git@vger.kernel.org>
Subject: "git pull" doesn't respect --work-tree parameter
Date: Tue, 21 Dec 2010 19:04:31 +0300 [thread overview]
Message-ID: <AANLkTi=UtZuPQcTNnwS_fXgzRn4MHAUGS8zyTMqX9E2J@mail.gmail.com> (raw)
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/
next reply other threads:[~2010-12-21 16:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 16:04 Alexey Zakhlestin [this message]
2010-12-22 11:20 ` "git pull" doesn't respect --work-tree parameter 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=UtZuPQcTNnwS_fXgzRn4MHAUGS8zyTMqX9E2J@mail.gmail.com' \
--to=indeyets@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).