aboutsummaryrefslogtreecommitdiff
path: root/git-email-magit.el
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-02-07 23:42:49 +0100
committerXinglu Chen <public@yoctocell.xyz>2021-02-07 23:42:49 +0100
commitb3b837cc730f6040f21a6b612c035f5129d02a89 (patch)
treea996f9ed3a0d25df26a571ff2c0bc4060655f208 /git-email-magit.el
parentcf441170bc9c614f7e295c9eeb295ff18e2c9351 (diff)
Handle error if no "to" address is found
Previously `substring` would give an error if the "to" address from "git config --list" was empty. This meant that no message would be created. This patch fixes this and instead returns an empty string if to "to" address was found. Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
Diffstat (limited to 'git-email-magit.el')
0 files changed, 0 insertions, 0 deletions