[PATCH 0/2] Getopt::Long workaround in send-email
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 13, 2015, 20:19 UTC
- Message-ID
- <1423858769-1565-1-git-send-email-gitster@pobox.com>
- In-Reply-To
- <xmqq8ug2pvw7.fsf@gitster.dls.corp.google.com>
The first one is a replay of Kyle's workaround for older versions of Getopt::Long that did not take "--no-option" to negate a boolean option "--option". The second one revert the workarounds made to the test script over time, and should break if the first one does not work well for older Getopt::Long (I have no reason to suspect it would break, though).
I am inclined to squash these into one commit before starting to merge them down to 'next' and then to 'master', after getting Tested-by: from those with older Getopt::Long (prior to 2.32).
Obviously, tc/t9001-noxmailer topic will become unnecessary and be dropped when that happens.
Thanks.
Junio C Hamano (1): SQUASH??? t9001: turn --no$option workarounds to --no-$option
Kyle J. McKay (1): git-send-email.perl: support no- prefix with older GetOptions
git-send-email.perl | 10 ++++++++++ t/t9001-send-email.sh | 10 +++++----- 2 files changed, 15 insertions(+), 5 deletions(-)
-- 2.3.0-191-geb1a277