X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=t%2Ft1410-reflog.sh;h=27b9080251a91b2f7031f3ccb6f9bafcbb9c5d22;hb=d166e8c1d4cb35dec960c4f69ccc23d2fedb322a;hp=ecccaa063453642a24a8ce364a5c73262226f868;hpb=294e949fa2dfd43097b2b5614470a3e43604663d;p=thirdparty%2Fgit.git diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh index ecccaa0634..27b9080251 100755 --- a/t/t1410-reflog.sh +++ b/t/t1410-reflog.sh @@ -158,6 +158,32 @@ test_expect_success 'reflog expire' ' check_fsck "dangling commit $K" ' +test_expect_success '--stale-fix handles missing objects generously' ' + git -c core.logAllRefUpdates=false fast-import --date-format=now <<-EOS && + commit refs/heads/stale-fix + mark :1 + committer Author now + data < now + data <