##// END OF EJS Templates
metrics: statsd report vcs methods use even on debug logs disabled
metrics: statsd report vcs methods use even on debug logs disabled

File last commit:

r1028:7a402005 default
r1035:ad4effdd default
Show More
git-send-email-honor-PATH.patch
30 lines | 1.4 KiB | text/x-diff | DiffLexer
/ pkgs / patches / git / git-send-email-honor-PATH.patch
dependencies: bumped GIT to 2.19.1 release
r584 diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
git: bumped to latest git version....
r1028 index 3db4eab4ba..39bc0e77c9 100644
dependencies: bumped GIT to 2.19.1 release
r584 --- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
git: bumped to latest git version....
r1028 @@ -220,9 +220,9 @@ a password is obtained using 'git-credential'.
--smtp-server=<host>::
If set, specifies the outgoing SMTP server to use (e.g.
`smtp.example.com` or a raw IP address). If unspecified, and if
- `--sendmail-cmd` is also unspecified, the default is to search
- for `sendmail` in `/usr/sbin`, `/usr/lib` and $PATH if such a
- program is available, falling back to `localhost` otherwise.
+ `--sendmail-cmd` is also unspecified, the default is to search for
+ `sendmail` in $PATH if such a program is available, falling back to
+ `localhost` otherwise.
+
For backward compatibility, this option can also specify a full pathname
of a sendmail-like program instead; the program must support the `-i`
dependencies: bumped GIT to 2.19.1 release
r584 diff --git a/git-send-email.perl b/git-send-email.perl
git: bumped to latest git version....
r1028 index e65d969d0b..508d49483d 100755
dependencies: bumped GIT to 2.19.1 release
r584 --- a/git-send-email.perl
+++ b/git-send-email.perl
git: bumped to latest git version....
r1028 @@ -1066,8 +1066,7 @@ sub expand_one_alias {
dependencies: bumped GIT to 2.19.1 release
r584 }
git: bumped to latest git version....
r1028 if (!defined $sendmail_cmd && !defined $smtp_server) {
dependencies: bumped GIT to 2.19.1 release
r584 - my @sendmail_paths = qw( /usr/sbin/sendmail /usr/lib/sendmail );
- push @sendmail_paths, map {"$_/sendmail"} split /:/, $ENV{PATH};
+ my @sendmail_paths = map {"$_/sendmail"} split /:/, $ENV{PATH};
foreach (@sendmail_paths) {
if (-x $_) {
git: bumped to latest git version....
r1028 $sendmail_cmd = $_;