Re: [PATCH] An alias that starts with "!!" runs in the current directory.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 5, 2010, 22:02 UTC
- Message-ID
- <7vvdb2hurp.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <19425.54504.163875.379151@winooski.ccs.neu.edu>
Eli Barzilay <eli@barzilay.org> writes:
> It looks like setup_git_directory_gently() returns the original CWD,...
It is designed to return what we internally call "prefix". You however have to be careful as it can return NULL or an empty string when you are already at the top of the working tree.