Re: [PATCH] Added -d and -e options to the "git" script.
- From
A Large Angry SCM <gitzilla@gmail.com>
- Date
- Sep 19, 2005, 14:42 UTC
- Message-ID
- <432ECE5A.7040703@gmail.com>
- In-Reply-To
- <u5tvf0xb0fp.fsf@lysator.liu.se>
David Kågedal wrote:
Show 7 quoted lines
> A Large Angry SCM <gitzilla@gmail.com> writes: > >>David Kågedal wrote: >>>These flags override the GIT_DIR and EDITOR environment variables. >>> >>[Patch snipped] >>
[...]
Show 8 quoted lines
> > So please disregard the -e part of my patch for now. You are free to > disregard the -d part as well, but I think that makes some kind of > sense. > > And If we go down this path, maybe flags for other GIT_* environment > variables should be settable with git command line flags too? >
Please no!
There are better methods of setting environment variables than an endless set of command options. Use the env command or you own (personal) command wrapper instead.