Re: bug with .git file and aliases
- From
Geoffrey Irving <irving@naml.us>
- Date
- Jul 20, 2009, 14:27 UTC
- Message-ID
- <7f9d599f0907200727v5b258a73n3fa664f134c0eead@mail.gmail.com>
- In-Reply-To
- <adf1fd3d0907200704sb097a99h1ab8f118be5854f9@mail.gmail.com>
On Mon, Jul 20, 2009 at 10:04 AM, Santi Béjar<santi@agolina.net> wrote:
Show 5 quoted lines
> I suspect that the $GIR_DIR and .git file works equally in this > aspect, so you should specify where is the workdir in .git/config with > respect the repository: > > git config core.workdir `pwd`
Nope, that has no effect.
By the way, I can work around this problem by using
git config alias.st "!git status"
but unfortunately that has slightly different behavior (it ignores pwd).
Geoffrey