diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-08 10:20:51 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-08 10:20:51 -0700 |
| commit | fe4ab2e698d544a082862a14120efc6b49047382 (patch) | |
| tree | 522c42678b395b3a106b6ae744ed50ba2d9d51ed /t/t1517-outside-repo.sh | |
| parent | 37a4780f2c30de9fe0bef533a266c6bca767a50f (diff) | |
| parent | 7d8727ff0b621a9729c2de6a3698063b7b3ba2d6 (diff) | |
| download | git-fe4ab2e698d544a082862a14120efc6b49047382.tar.xz | |
Merge branch 'jt/index-fd-wo-repo-regression-fix-maint'
During Git 2.52 timeframe, we broke streaming computation of object
hash outside a repository, which has been corrected.
* jt/index-fd-wo-repo-regression-fix-maint:
object-file: avoid ODB transaction when not writing objects
Diffstat (limited to 't/t1517-outside-repo.sh')
| -rwxr-xr-x | t/t1517-outside-repo.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t1517-outside-repo.sh b/t/t1517-outside-repo.sh index c824c1a25c..e1d35170de 100755 --- a/t/t1517-outside-repo.sh +++ b/t/t1517-outside-repo.sh @@ -93,6 +93,14 @@ test_expect_success 'diff outside repository' ' test_cmp expect actual ' +test_expect_success 'hash object exceeding bigFileThreshold outside repository' ' + ( + cd non-repo && + echo foo >foo && + git -c core.bigFileThreshold=1 hash-object --stdin <foo + ) +' + test_expect_success 'stripspace outside repository' ' nongit git stripspace -s </dev/null ' |
