]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6501-freshen-objects.sh
tests: remove some direct access to .git/logs
[thirdparty/git.git] / t / t6501-freshen-objects.sh
index 2adf825076b9c8f774973dcc83686980dca7725b..cf076dcd940aa0d74bd8df03b4f6c768e1954455 100755 (executable)
@@ -56,7 +56,7 @@ for repack in '' true; do
 
        test_expect_success "disable reflogs ($title)" '
                git config core.logallrefupdates false &&
-               rm -rf .git/logs
+               git reflog expire --expire=all --all
        '
 
        test_expect_success "setup basic history ($title)" '