Check HEAD hash against what we expect before push/pop/refresh
[guilt.git] / guilt-unapplied
blob213d44fbb3723c3fb0ac5ee8898f8f2475592ace
1 #!/bin/bash
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 source "`dirname $0`/guilt"
8 if [ $# -ne 0 ]; then
9 print_usage
10 exit 1
13 n=`wc -l < $applied`
14 n=`expr $n + 1`
16 idx=0
17 for p in `get_series`; do
18 idx=`expr $idx + 1`
19 [ $idx -lt $n ] && continue
21 echo $p
22 done