[PATCH] Guilt: Replace print_usage and exit 1 with usage and die in git-sh-setup
[guilt.git] / guilt-unapplied
blob5bbe4d886b537d54ecb7ee63a4e8ba9659676143
1 #!/bin/bash
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 USAGE=""
7 . guilt
9 if [ $# -ne 0 ]; then
10 usage
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