shallow.c: steps 6 and 7 to select new commits for .git/shallow