3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
9 while case "$#" in 0) break ;; esac
22 if [ ! -z "$gui" ]; then
23 [ -z "`get_top`" ] && die
"No patches applied."
24 bottom
=`head -1 $applied | cut -d: -f1`
25 top
=`tail -1 $applied | cut -d: -f1`
28 # FIXME, this doesn't quite work - it's perfectly fine with
29 # git-rev-list, but gitk for whatever reason likes to include the
31 [ "$bottom" = "$top" ] && range
="$bottom^..$bottom"
34 elif [ -z "$verbose" ]; then
42 if [ -z "$top" ]; then
45 if [ "$patch" = "$top" ]; then