3 test_description
='--all includes detached HEADs'
15 test_expect_success
'setup' '
24 test_expect_success
'rev-list --all lists detached HEAD' '
26 test 3 = $(git rev-list --all | wc -l)
30 test_expect_success
'repack does not lose detached HEAD' '
33 git prune --expire=now &&
38 test_expect_success
'rev-list --graph --no-walk is forbidden' '
39 test_must_fail git rev-list --graph --no-walk HEAD