branch: fix a regression (refs not being copied)
[guilt.git] / guilt-applied
blob6dbe241a48ef14c1ce77eb27bf7628f946933b10
1 #!/bin/sh
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 USAGE="[-c]"
7 . `dirname $0`/guilt
9 case $# in
11 # just output the regular series-style applied list
12 cat $applied
16 if [ "$1" != "-c" ]; then
17 usage
20 cat $applied | while read pname; do
21 git show-ref refs/patches/$branch/$pname | sed -e "s,refs/patches/$branch/,,"
22 done
26 usage
28 esac