Re: [msysGit] Re: Pull request for msysGit patches
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Sep 28, 2010, 21:11 UTC
- Message-ID
- <201009282311.01703.j6t@kdbg.org>
- In-Reply-To
- <7vocbhsn03.fsf@alter.siamese.dyndns.org>
On Dienstag, 28. September 2010, Junio C Hamano wrote:
Show 6 quoted lines
> git-merge-octopus.sh > > Why isn't upcasing necessary for all the other uses of environment > variables? For example, we pass reflog action by exporting a variable, > and we use GIT_AUTHOR_NAME and friends to override configuration > variables. Do they get upcased?
It is the environment variable *names* that get upper-cased, not the values. The variable name that was set for use by git-merge-octopus is of the form GITHEAD_deadbeef, but inside git-merge-octopus, the name is GITHEAD_DEADBEEF. Only MSYS programs like bash, but not native Windows programs like git, suffer from this.
-- Hannes