3 # Copyright (c) Josef "Jeff" Sipek, 2006-2013
6 USAGE
="[--git] [--diffstat]"
7 if [ -z "$GUILT_VERSION" ]; then
8 echo "Invoking `basename "$0"` directly is no longer supported." >&2
14 while [ $# -gt 0 ]; do
28 if [ -z "$TOP" ]; then
29 die
"No patches applied; try guilt push first"
32 refresh_patch
"$TOP" "$gdiff" "$dstat"
33 echo "Patch $TOP refreshed"