3 # Copyright (c) 2007 Johannes E. Schindelin
6 test_description='git rev-list involving submodules that this repo has'
10 test_expect_success 'setup' '
14 git commit -m initial &&
17 git commit -m second file &&
20 git commit -m third file &&
26 git submodule add "$(pwd)" sub &&
27 git symbolic-ref HEAD refs/heads/super &&
29 git commit -m super-initial &&
30 echo 1 > super-file &&
32 git commit -m super-first super-file &&
33 echo 2 > super-file &&
35 git commit -m super-second super-file
38 test_expect_success "Ilari's test" '
39 git rev-list --objects super master ^super^