threads / patch / 3649

patchInvoke git-stripspace directly.

Subject: [PATCH] Invoke git-stripspace directly.

## tl;dr

One message between Mar 14, 2006 and Mar 14, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Qingning Huo· Mar 14, 2006, 21:11 UTC · lore

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

Signed-off-by: Qingning Huo <qhuo@mayhq.co.uk>
---
 git-format-patch.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
aad41923a43b82713af05eaa26db688272091520
Show changes to git-format-patch.sh +1 −1
diff --git a/git-format-patch.sh b/git-format-patch.sh
index 2ebf7e8..486fb31 100755
--- a/git-format-patch.sh
+++ b/git-format-patch.sh
@@ -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 (/^$/) {
-- 
1.2.4.ga019-dirty

← back to recent threads