diff mbox series

[1/3] Print newline for git-send-email --git-completion-helper.

Message ID 20210802204953.229867-2-tbperrotta@gmail.com (mailing list archive)
State New, archived
Headers show
Series git-send-email options and completion improvements | expand

Commit Message

Thiago Perrotta Aug. 2, 2021, 8:49 p.m. UTC
Rationale: All git built-in commands print a newline upon upon git <cmd>
--git-completion-helper. Therefore git-send-email should follow suit for
consistency.

Signed-off-by: Thiago Perrotta <tbperrotta@gmail.com>
---
 git-send-email.perl | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/git-send-email.perl b/git-send-email.perl
index e65d969..e991bf3 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -115,6 +115,7 @@  sub usage {
 
 sub completion_helper {
     print Git::command('format-patch', '--git-completion-helper');
+    print "\n";
     exit(0);
 }