blob: 0e0c82410e104d81577e2f11dc418b9135f4a371 [file] [log] [blame]
#!/bin/bash
#
# Show commits which exist in a given range, but don't exist in the current
# branch.
#
#set -x
function do_one() {
stable-commit-in-tree $1
if [ "$?" = "0" ]; then
$2 $1
fi
}
function show_missing_iter {
for i in $(git log --no-merges --format="%H" $1 | tac); do
do_one $i $2 &
sleep 1
if [ $(ps aux | grep git | wc -l) -gt 10 ]; then sleep 1; fi
done
}