Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Sebastian Feldmann <sf@sebastian-feldmann.info>
Cc: git@vger.kernel.org
Subject: Re: Impossible to change working directory
Date: Thu, 29 Sep 2016 16:24:20 -0700	[thread overview]
Message-ID: <xmqq37kicmsb.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <A99D7D06-8214-4C09-BCB2-E4FCE75FF317@sebastian-feldmann.info> (Sebastian Feldmann's message of "Thu, 29 Sep 2016 21:30:10 +0200")

Sebastian Feldmann <sf@sebastian-feldmann.info> writes:

> the script fails because changing the current working directory fails.
> If I echo the current working directory it always echoes the root repository path
>
> Is this expected behavior?

Yes, we always go to the top before doing anything.

If you echo environment variables Git may set up for you, what do
you see?  Do you see GIT_PREFIX that you can use to tell where you
came from, or something like that?

  reply	other threads:[~2016-09-29 23:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29 19:30 Impossible to change working directory Sebastian Feldmann
2016-09-29 23:24 ` Junio C Hamano [this message]
2016-10-01 15:34 ` Torsten Bögershausen

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=xmqq37kicmsb.fsf@gitster.mtv.corp.google.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=sf@sebastian-feldmann.info \
    /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