From 60a988f2c83ac4625ba0d6d0325116c90cf26127 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 9 Jul 2012 17:16:45 -0600 Subject: [PATCH] LU-1053 build: add test for commit-msg with diff Add a test case for the build/commit-msg script with "diff" at the start of an intermediate line, which should not be ignored. This needs to be distinguished from the start of "git commit -av" output which has a full "git diff" of the output inline with the commit. Signed-off-by: Andreas Dilger Change-Id: Icf2399568437de7f9e23419386bf3b1b99ebbfd1 Reviewed-on: http://review.whamcloud.com/3363 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Bruce Korb Reviewed-by: Yu Jian --- build/commit.ok_diffinside | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 build/commit.ok_diffinside diff --git a/build/commit.ok_diffinside b/build/commit.ok_diffinside new file mode 100644 index 0000000..fa53055 --- /dev/null +++ b/build/commit.ok_diffinside @@ -0,0 +1,8 @@ +LU-1030 build: allow diff/chmod/deleted in commit-msg + +When we write a commit body, sometimes there may be a line with +diff right at the beginning. This shouldn't cause the rest of +the commit message to be skipped. + +Signed-off-by: Andreas Dilger +Change-Id: I012345678901234567890123456789012345500c -- 1.8.3.1