diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-21 15:35:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-21 15:35:04 -0700 |
commit | 7ac228c99451970bc1c31f32cbbd273311cd3a02 (patch) | |
tree | 4b867ee1083c619644193dea1696bd44800f5c61 /t/perf | |
parent | de73a20756e0d938c3098391d011b633ba863530 (diff) | |
parent | 748b8d669a0d7232c2174e02a20e32284ac05677 (diff) | |
download | git-7ac228c99451970bc1c31f32cbbd273311cd3a02.tar.gz |
Merge branch 'rn/sparse-describe'
"git describe --dirty" learns to work better with sparse-index.
* rn/sparse-describe:
describe: enable sparse index for describe
Diffstat (limited to 't/perf')
-rwxr-xr-x | t/perf/p2000-sparse-operations.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/perf/p2000-sparse-operations.sh b/t/perf/p2000-sparse-operations.sh index f7bdba90c5..60d1de0662 100755 --- a/t/perf/p2000-sparse-operations.sh +++ b/t/perf/p2000-sparse-operations.sh @@ -43,6 +43,7 @@ test_expect_success 'setup repo and indexes' ' done && git sparse-checkout init --cone && + git tag -a v1.0 -m "Final" && git sparse-checkout set $SPARSE_CONE && git checkout -b wide $OLD_COMMIT && @@ -126,5 +127,7 @@ test_perf_on_all git update-index --add --remove $SPARSE_CONE/a test_perf_on_all "git rm -f $SPARSE_CONE/a && git checkout HEAD -- $SPARSE_CONE/a" test_perf_on_all git grep --cached bogus -- "f2/f1/f1/*" test_perf_on_all git write-tree +test_perf_on_all git describe --dirty +test_perf_on_all 'echo >>new && git describe --dirty' test_done |