Whamcloud - gitweb
LU-11881 utils: silence error message
[fs/lustre-release.git] / contrib / git-hooks / tests / commit.ok_comment
1 # On branch master
2 # Your branch is ahead of 'origin/master' by 1 commit.
3 #
4 # Changes to be committed:
5 #   (use "git reset HEAD <file>..." to unstage)
6 #
7 #       modified:   contrib/git-hooks/commit-msg
8 #       new file:   contrib/git-hooks/tests/commit.ok_comment
9 #       modified:   contrib/git-hooks/tests/test-commit-msg.sh
10
11 LU-3568 contrib: ignore initial comments
12
13 Sometimes, git likes to insert "git status" commentary
14 at the top of an auto-generated commit message starter
15 file. If the committer carelessly neglects to remove
16 the stuff, the script thinks the message has a missing
17 commit summary line.
18
19 * contrib/tests/test-commit-msg.sh: pass through xtrace setting
20 * contrib/tests/commit.ok_commit: This message with cruft
21 * contrib/commit-msg: use a flag instead of a line number to see
22   if we still need to process the summary line.
23
24 Signed-off-by: Bruce Korb <bruce_korb@xyratex.com>
25 Reviewed-by: Cheng Shao <cheng_shao@xyratex.com>
26 Xyratex-bug-id: MRP-1160
27 Change-Id: I46e2951f2e28cbbf53bf2e96e420ddcea7c0d991
28