Skip to content

Commit e722590

Browse files
committed
Merge branch 'rs/t4014-git-version-string-fix'
Test fix. * rs/t4014-git-version-string-fix: t4014: support Git version strings with spaces
2 parents bcc20b8 + 007b899 commit e722590

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/t4014-format-patch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ test_expect_success 'format-patch --ignore-if-in-upstream HEAD' '
980980

981981
test_expect_success 'get git version' '
982982
git_version=$(git --version) &&
983-
git_version=${git_version##* }
983+
git_version=${git_version#git version }
984984
'
985985

986986
signature() {

0 commit comments

Comments
 (0)