Skip to contentSkip to conversation

Invoke git-stripspace directly.

PATCH New Qingning Huo 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Invoke git-stripspace directly.

Run "git-stripspace" instead of "git stripspace" to avoid calling external git command.

---

 git-format-patch.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

aad41923a43b82713af05eaa26db688272091520

git-format-patch.sh +1 -1
index 2ebf7e8..486fb31 100755
@@ -213,7 +213,7 @@ sub show_date {
 }
 
 print "From nobody Mon Sep 17 00:00:00 2001\n";
-open FH, "git stripspace <$commsg |" or die "open $commsg pipe";
+open FH, "git-stripspace <$commsg |" or die "open $commsg pipe";
 while (<FH>) {
     unless ($done_header) {
 	if (/^$/) {
Signature · 1 line
1.2.4.ga019-dirty