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