diff options
author | Kyle J. McKay <mackyle@gmail.com> | 2015-01-30 18:40:17 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-16 13:26:51 -0800 |
commit | f471494303c2d2a085f384eac705379ef2423590 (patch) | |
tree | 4d87da7c7878def23b291d254285396fd9724766 /config.c | |
parent | Git 2.3.0-rc2 (diff) | |
download | tgif-f471494303c2d2a085f384eac705379ef2423590.tar.xz |
git-send-email.perl: support no- prefix with older GetOptions
Only Perl version 5.8.0 or later is required, but that comes with
an older Getopt::Long (2.32) that does not support the 'no-'
prefix. Support for that was added in Getopt::Long version 2.33.
Since the help only mentions the 'no-' prefix and not the 'no'
prefix, add explicit support for the 'no-' prefix to support
older GetOptions versions.
Reported-by: Tom G. Christensen <tgc@statsbiblioteket.dk>
Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Tested-by: Tom G. Christensen <tgc@statsbiblioteket.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions