We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40aaae8 commit 6c7f4ceCopy full SHA for 6c7f4ce
t/t4013-diff-various.sh
@@ -88,7 +88,7 @@ test_expect_success setup '
88
+*+ [initial] Initial
89
EOF
90
91
-V=`git version | sed -e 's/^git version //'`
+V=`git version | sed -e 's/^git version //' -e 's/\./\\./g'`
92
while read cmd
93
do
94
case "$cmd" in
@@ -103,7 +103,9 @@ do
103
test_expect_success "git $cmd" '
104
{
105
echo "\$ git $cmd"
106
- git $cmd | sed -e "s/$V/g-i-t--v-e-r-s-i-o-n/"
+ git $cmd |
107
+ sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \
108
+ -e "s/^\\( *boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/"
109
echo "\$"
110
} >"$actual" &&
111
if test -f "$expect"
0 commit comments