Skip to contentSkip to conversation

send-email: remove debug trace

PATCH In review Erik Faye-Lund 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 send-email: remove debug trace

---

This isn't really a big deal, the print just annoyed me slightly.

 git-send-email.perl |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
git-send-email.perl +0 -1
index d508f83..0700d80 100755
@@ -450,7 +450,6 @@ sub check_file_rev_conflict($) {
 	try {
 		$repo->command('rev-parse', '--verify', '--quiet', $f);
 		if (defined($format_patch)) {
-			print "foo\n";
 			return $format_patch;
 		}
 		die(<<EOF);
Signature · 1 line
1.6.4
#1 lore raw
Quoted 4 lines · Erik Faye-Lund

---

This isn't really a big deal, the print just annoyed me slightly.

Nobody noticed for the past 9 months? Interesting.

Thanks.

Quoted 18 lines
 git-send-email.perl |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
git-send-email.perl +0 -1
index d508f83..0700d80 100755
@@ -450,7 +450,6 @@ sub check_file_rev_conflict($) {
 	try {
 		$repo->command('rev-parse', '--verify', '--quiet', $f);
 		if (defined($format_patch)) {
-			print "foo\n";
 			return $format_patch;
 		}
 		die(<<EOF);
Signature · 1 line
1.6.4
#2 lore raw
Quoted 1 line · Junio C Hamano

Nobody noticed for the past 9 months?  Interesting.

My guess is that not that many people are using --[no-]format-patch, since it's only really useful if you have file names that collide with git references. Who calls their files things like "HEAD~5..HEAD~2"? :)

Signature · 3 lines
Erik "kusma" Faye-Lund
[email protected]
(+47) 986 59 656