diff options
author | Jeff King <peff@peff.net> | 2009-07-23 07:09:29 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-24 09:32:46 -0700 |
commit | 302e04ea4d0c0414cedd716de882fa3dbe3480eb (patch) | |
tree | 8f1c26b30262666bba33b6e57ae3f2a1a90cb3c5 /t/t5515/refs.br-config-explicit | |
parent | Trailing whitespace and no newline fix (diff) | |
download | tgif-302e04ea4d0c0414cedd716de882fa3dbe3480eb.tar.xz |
send-email: detect cycles in alias expansion
With the previous code, an alias cycle like:
$ echo 'alias a b' >aliases
$ echo 'alias b a' >aliases
$ git config sendemail.aliasesfile aliases
$ git config sendemail.aliasfiletype mutt
would put send-email into an infinite loop. This patch
detects the situation and complains to the user.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.br-config-explicit')
0 files changed, 0 insertions, 0 deletions