patchbomb: do not include "1/1" in the subject if there's only 1 patch
[guilt.git] / guilt-unapplied
blob192a7e5395dac6e2f8e2373d8e54f4a4a8a1fdaf
1 #!/bin/sh
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 USAGE=""
7 . `dirname $0`/guilt
9 if [ $# -ne 0 ]; then
10 usage
13 n=`wc -l < $applied`
14 n=`expr $n + 1`
16 get_series | sed -n -e "$n,\$p"