adds an option to ignore a temporary commit to pit

This commit is contained in:
Eric Merritt
2011-01-17 04:10:47 +08:00
committed by Michael Dvorkin
parent 0709e96baf
commit 3e35117f43

View File

@@ -36,6 +36,7 @@ if [ -n "$pit_task" ]; then
echo " (P)ostponed"
echo " (O)pen"
echo " (D)one"
echo " (T)emp commit, ignore"
echo "Enter the status for task ${pit_task} [D]: "
read selection
@@ -50,6 +51,10 @@ if [ -n "$pit_task" ]; then
'o'|'O' )
status="open"
;;
't'|'T' )
# This is a test commit and pit should ignore it
exit 0
;;
esac
commit="`grep -v "^#" $1`"