Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (23 sloc) 387 Bytes
#!/bin/sh
#
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
#
USAGE="[-c]"
. `dirname $0`/guilt
case $# in
0)
# just output the regular series-style applied list
cat $applied
;;
1)
if [ "$1" != "-c" ]; then
usage
fi
cat $applied | while read pname; do
git show-ref refs/patches/$branch/$pname | sed -e "s,refs/patches/$branch/,,"
done
;;
*)
usage
;;
esac