status: Major cleanup of status
[guilt.git] / guilt-refresh
blob957f23dfa229ead3cd6dc650be4e01585f15752c
1 #!/bin/bash
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 USAGE=""
7 . guilt
9 if [ $# -ne 0 ]; then
10 usage
13 TOP=`get_top`
15 if [ -z "$TOP" ]; then
16 die "No patches applied; try guilt-push first"
19 refresh_patch "$TOP"