From: Jakub Narebski Date: Mon, 06 Sep 2010 10:23:57 GMT Subject: Re: [PATCH v3 3/3] New send-email option smtpserveroption. Message-ID: <201009061223.59090.jnareb@gmail.com> In-Reply-To: <7vpqwrv0l2.fsf@alter.siamese.dyndns.org> On Mon, 6 Sep 2010, Junio C Hamano wrote: > Jakub Narebski writes: >> Pascal Obry writes: >>> --- >>> Documentation/git-send-email.txt | 8 ++++++++ >>> git-send-email.perl | 8 +++++++- >>> 2 files changed, 15 insertions(+), 1 deletions(-) >> >> Needs update to Documentation/config.txt, adding line about >> sendemail.smtpserveroption. > > And test if it is easy to arrange (otherwise I'll take a look myself, so > do not worry too much about it). Actually because *all* options use the same mechanism (%config_settings which is used in read_config, and GetOptions from Getopt::Long), it would be better to just test the mechanism, I think. But that is outside the scope of this patch... and probably require moving (some of) functionality to Git.pm >>> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt >>> index c283084..5af05bc 100644 >>> --- a/Documentation/git-send-email.txt >>> +++ b/Documentation/git-send-email.txt >>> @@ -157,6 +157,14 @@ user is prompted for a password while the input is masked for privacy. >>> `/usr/lib/sendmail` if such program is available, or >>> `localhost` otherwise. >>> >>> +--smtp-server-option=