diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-09-20 11:16:32 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-20 11:16:33 -0700 |
| commit | 83c1cc99a8a1944ced58049227dbf0e64578e042 (patch) | |
| tree | ee9541ac9ccc7eb3114c47854375e1fd6bed0a9c /t/t9700-perl-git.sh | |
| parent | Merge branch 'bb/unicode-width-table-16' (diff) | |
| parent | Git.pm: use "rev-parse --absolute-git-dir" rather than perl code (diff) | |
| download | git-83c1cc99a8a1944ced58049227dbf0e64578e042.tar.gz git-83c1cc99a8a1944ced58049227dbf0e64578e042.zip | |
Merge branch 'jk/git-pm-bare-repo-fix'
In Git 2.39, Git.pm stopped working in a bare repository, which has
been corrected.
* jk/git-pm-bare-repo-fix:
Git.pm: use "rev-parse --absolute-git-dir" rather than perl code
Git.pm: fix bare repository search with Directory option
Diffstat (limited to 't/t9700-perl-git.sh')
| -rwxr-xr-x | t/t9700-perl-git.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t9700-perl-git.sh b/t/t9700-perl-git.sh index ccc8212d73..4431697122 100755 --- a/t/t9700-perl-git.sh +++ b/t/t9700-perl-git.sh @@ -45,7 +45,8 @@ test_expect_success 'set up test repository' ' ' test_expect_success 'set up bare repository' ' - git init --bare bare.git + git init --bare bare.git && + git -C bare.git --work-tree=. commit --allow-empty -m "bare commit" ' test_expect_success 'use t9700/test.pl to test Git.pm' ' |
