/usr/lib/guilt/guilt-applied is in guilt 0.36-0.2ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #!/bin/sh
#
# Copyright (c) Josef "Jeff" Sipek, 2006-2013
#
USAGE="[-c]"
if [ -z "$GUILT_VERSION" ]; then
echo "Invoking `basename "$0"` directly is no longer supported." >&2
exit 1
fi
_main() {
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
}
|