Re: What's in git.git (stable)
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Dec 15, 2006, 16:12 UTC
- Message-ID
- <20061215161257.GI17860@spearce.org>
- In-Reply-To
- <Pine.LNX.4.64.0612151106580.18171@xanadu.home>
Nicolas Pitre <nico@cam.org> wrote:
> Wouldn't it be possible for aliases to be effective only when issued > from an interactive shell? It is certainly true that aliases just make > no sense in a script.
Probably, but on Cygwin gitk needs to use 'git foo' to invoke a command, even if 'git-foo' exists, because 'git-foo' might be a shell script and the Cygwin wish process cannot execute shell scripts.
Worse it cannot pass down environment variables to git commands. So it may be a little hard to tell in the git wrapper we are being run from within gitk (or git-gui)...