diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-12-22 14:57:49 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-12-22 14:57:49 +0900 |
| commit | e72259073d0c84f0c9d545f39b8723a2cae0de24 (patch) | |
| tree | 2119686f32a0633c1b15c2b2e4116fdedf609fdb | |
| parent | bcc20b83047ab43810baf081976bc4421c0fe889 (diff) | |
| parent | 007b8994d4fc49f4a68ee414db9e814736a3fc04 (diff) | |
Merge branch 'rs/t4014-git-version-string-fix'
Test fix.
* rs/t4014-git-version-string-fix:
t4014: support Git version strings with spaces
| -rwxr-xr-x | t/t4014-format-patch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index 2782b1fc18..21d6d0cd9e 100755 --- a/t/t4014-format-patch.sh +++ b/t/t4014-format-patch.sh @@ -980,7 +980,7 @@ test_expect_success 'format-patch --ignore-if-in-upstream HEAD' ' test_expect_success 'get git version' ' git_version=$(git --version) && - git_version=${git_version##* } + git_version=${git_version#git version } ' signature() { |
