diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-07 17:34:30 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-07 17:34:30 -0700 |
| commit | a8a773c28fa618be573be7bce05d37ac4d079a80 (patch) | |
| tree | 4f0a6ba3f5dd7cfe9915d9b4a1c4b02e5cec3de6 /t/t1517-outside-repo.sh | |
| parent | 1adf5bca8c3cf778103548b9355777cf2d12efdd (diff) | |
| parent | 7d8727ff0b621a9729c2de6a3698063b7b3ba2d6 (diff) | |
| download | git-a8a773c28fa618be573be7bce05d37ac4d079a80.tar.xz | |
Merge branch 'jt/index-fd-wo-repo-regression-fix-maint' into HEAD
* 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 ' |
