Merge branch 'jc/send-email-skip-backup'
commit89b8710fce0d1b3d99c0a1c218bacb82ff0811e4
authorJunio C Hamano <gitster@pobox.com>
Mon, 11 Jul 2016 17:31:04 +0000 (11 10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Jul 2016 17:31:04 +0000 (11 10:31 -0700)
tree039534265e7969747df16b610d389184fb0c0522
parent5c589a73de4394ad125a4effac227b3aec856fa1
parent531220ba500168bc5a2080df24dfd61705cafa3c
Merge branch 'jc/send-email-skip-backup'

A careless invocation of "git send-email directory/" after editing
0001-change.patch with an editor often ends up sending both
0001-change.patch and its backup file, 0001-change.patch~, causing
embarrassment and a minor confusion.  Detect such an input and
offer to skip the backup files when sending the patches out.

* jc/send-email-skip-backup:
  send-email: detect and offer to skip backup files
git-send-email.perl