Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (23 sloc) 394 Bytes
#!/bin/sh
#
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
#
USAGE="[--git] [--diffstat]"
. `dirname $0`/guilt
while [ $# -gt 0 ]; do
case "$1" in
--git)
gdiff=t ;;
--diffstat)
dstat=t ;;
*)
usage ;;
esac
shift
done
TOP=`get_top`
if [ -z "$TOP" ]; then
die "No patches applied; try guilt-push first"
fi
refresh_patch "$TOP" "$gdiff" "$dstat"
echo "Patch $TOP refreshed"