From: Nguyen Thai Ngoc Duy <pclouds@gmail.com>
To: Alexey Zakhlestin <indeyets@gmail.com>
Cc: git <git@vger.kernel.org>
Subject: Re: "git pull" doesn't respect --work-tree parameter
Date: Wed, 22 Dec 2010 18:55:23 +0700 [thread overview]
Message-ID: <AANLkTikoBaJmo97wh_zNaUAFHq3sf1j4b2HDuEmjRKnt@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=JrOe=z4LNZtxfsDvkG2jYCtemYESftv=61ZrJ@mail.gmail.com>
On Wed, Dec 22, 2010 at 6:50 PM, Alexey Zakhlestin <indeyets@gmail.com> wrote:
> 1) returns correct path:
> /Users/indy/Documents/Sources/_mine/midgard/mvc/_rdf/midgardmvc_core/.git
> 2) false
> 3) returns correct path, again:
> /Users/indy/Documents/Sources/_mine/midgard/mvc/_rdf/midgardmvc_core
>
> just to make myself clear: $PWD is another path, not related to repository path
OK. git-pull does not automatically move to worktree (while git-status
does) and thus won't work when $PWD is outside worktree. I remember
there's a similar report this year. I'll see if I can make a patch for
it.
Thank you for your report.
--
Duy
prev parent reply other threads:[~2010-12-22 11:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=AANLkTikoBaJmo97wh_zNaUAFHq3sf1j4b2HDuEmjRKnt@mail.gmail.com \
--to=pclouds@gmail.com \
--cc=git@vger.kernel.org \
--cc=indeyets@gmail.com \
/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).