Merge branch 'jc/t0091-with-unknown-git'

The test did not work when Git was built from a repository without
tags.

* jc/t0091-with-unknown-git:
  t0091: allow test in a repository without tags
maint
Junio C Hamano 2024-02-06 14:31:21 -08:00
commit c5887af55d
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ test_expect_success 'sanity check "System Info" section' '

sed -ne "/^\[System Info\]$/,/^$/p" <git-bugreport-format.txt >system &&

# The beginning should match "git version --build-info" verbatim,
# The beginning should match "git version --build-options" verbatim,
# but rather than checking bit-for-bit equality, just test some basics.
grep "git version [0-9]." system &&
grep "git version " system &&
grep "shell-path: ." system &&

# After the version, there should be some more info.