Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
rebase -i: Enclose sed command substitution in quotes
author
Michael Haggerty
<mhagger@alum.mit.edu>
Fri, 22 Jan 2010 09:22:30 +0000
(10:22 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 22 Jan 2010 21:18:38 +0000
(13:18 -0800)
Reported by: Johannes Sixt <j.sixt@viscovery.net>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-rebase.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
8cddaee
)
diff --git
a/t/lib-rebase.sh
b/t/lib-rebase.sh
index 2d922ae43cdaac23392f92d5b9b0470b1056b363..6aefe27593e89d57f075bc0d3dbc5a1104d874b7 100644
(file)
--- a/
t/lib-rebase.sh
+++ b/
t/lib-rebase.sh
@@
-27,7
+27,7
@@
set_fake_editor () {
case "$1" in
*/COMMIT_EDITMSG)
test -z "$EXPECT_HEADER_COUNT" ||
- test "$EXPECT_HEADER_COUNT" =
$(sed -n '1s/^# This is a combination of \(.*\) commits\./\1/p' < "$1")
||
+ test "$EXPECT_HEADER_COUNT" =
"$(sed -n '1s/^# This is a combination of \(.*\) commits\./\1/p' < "$1")"
||
exit
test -z "$FAKE_COMMIT_MESSAGE" || echo "$FAKE_COMMIT_MESSAGE" > "$1"
test -z "$FAKE_COMMIT_AMEND" || echo "$FAKE_COMMIT_AMEND" >> "$1"