From 6217e68a18f6c26da41e89bff6a1ed4e968c66b4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Nov 2014 16:24:37 -0500 Subject: [PATCH] Test for commit -f. --- srctest | 9 +++++++++ 1 file changed, 9 insertions(+) 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. -- 2.43.0