git-send-email.perl: support no- prefix with older GetOptions
authorKyle J. McKay <mackyle@gmail.com>
Sat, 31 Jan 2015 02:40:17 +0000 (18:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Feb 2015 21:26:51 +0000 (13:26 -0800)
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>
No differences found