-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git: apply sendmailCmd instead of smtpServer (#6399)
In manpage of git-send-email --smtp-server, For backward compatibility, this option can also specify full pathname of a sendmail-like program instead; the program must support the -i option. This method does not support passing arguments or using plain command names. For those use cases, consider using --sendmail-cmd instead.
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
[sendemail "[email protected]"] | ||
envelopeSender = "auto" | ||
from = "H. M. Test <[email protected]>" | ||
smtpServer = "@msmtp@/bin/msmtp" | ||
sendmailCmd = "@msmtp@/bin/msmtp" | ||
|
||
[user] | ||
email = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
assertGitConfig "[email protected]" "H. M. Test <[email protected]>" | ||
assertGitConfig "sendemail.hm-account.from" "H. M. Test Jr. <[email protected]>" | ||
assertGitConfig "[email protected].smtpServer" "${pkgs.msmtp}/bin/msmtp" | ||
assertGitConfig "[email protected].sendmailCmd" "${pkgs.msmtp}/bin/msmtp" | ||
assertGitConfig "[email protected]" "auto" | ||
''; | ||
} |