aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-04-07 17:34:30 -0700
committerJunio C Hamano <gitster@pobox.com>2026-04-07 17:34:30 -0700
commita8a773c28fa618be573be7bce05d37ac4d079a80 (patch)
tree4f0a6ba3f5dd7cfe9915d9b4a1c4b02e5cec3de6 /t
parent1adf5bca8c3cf778103548b9355777cf2d12efdd (diff)
parent7d8727ff0b621a9729c2de6a3698063b7b3ba2d6 (diff)
downloadgit-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')
-rwxr-xr-xt/t1517-outside-repo.sh8
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
'