Re: [PATCH 1/3] Add git-send-email-script - tool to send emails from git-format-patch-script
- From
- Ryan Anderson <ryan@michonline.com>
- Date
- Jul 31, 2005, 23:54 UTC
- Message-ID
- <20050731235439.GI32263@mythryan2.michonline.com>
- In-Reply-To
- <Pine.LNX.4.58.0507311223240.16181@wgmdd8.biozentrum.uni-wuerzburg.de>
On Sun, Jul 31, 2005 at 12:25:13PM +0200, Johannes Schindelin wrote:
Show 6 quoted lines
> Hi, > > wouldn't it be a good idea to make $from and $to required parameters? At > least you could infer a sensible default of $from from GIT_* environment > variables, no? I am not quite comfortable with a hard coded sender in a > script possibly deployed into a multi-user environment.
The sender isn't hardcoded.
If it isn't sent on the command line, the return value from git-var -l is used to set a default, which is then confirmed by the ReadLine interface.
Some of the comments were leftover from Greg's original, before I remembered to remove them - it should be better now if you take another look. (See my, soon to be sent, set of additional changes.)
-- Ryan Anderson sometimes Pug Majere