From: Eric S. Raymond Date: Fri, 7 Nov 2014 21:24:37 +0000 (-0500) Subject: Test for commit -f. X-Git-Tag: 0.2~41 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=6217e68a18f6c26da41e89bff6a1ed4e968c66b4;p=src.git Test for commit -f. --- diff --git a/srctest b/srctest index 7254181..a7384f1 100755 --- a/srctest +++ b/srctest @@ -70,6 +70,15 @@ src $TESTOPTS log testfile1 >testfile3 diff testfile2 testfile3 check "log test" +cat >testfile1 <testfile4 +src $TESTOPTS commit -f testfile4 testfile1 >/dev/null +check "commit with -f" # to do: checkout, tag, fast-export, out-of-bounds revisions.