Whamcloud - gitweb
LU-15511 misc: allow Lustre-change and Lustre-commit
[fs/lustre-release.git] / contrib / git-hooks / tests / commit.bad_commit
diff --git a/contrib/git-hooks/tests/commit.bad_commit b/contrib/git-hooks/tests/commit.bad_commit
new file mode 100644 (file)
index 0000000..b8173cf
--- /dev/null
@@ -0,0 +1,17 @@
+LU-15511 misc: allow Lustre-change and Lustre-commit
+
+Allow the Lustre-change:, Lustre-commit:, Linux-commit: labels in
+the signoff section.  Verify that Lustre-change: has a valid-looking
+Gerrit URL in "permalink" format "https://review.whamcloud.com/nnnnn".
+Verify -commit: labels have a valid-looking Git hashes (40 hex chars),
+though the actual hash cannot be verified because it may be from a
+different Git repository.
+
+Shorten the help message in case of error, and add "commit-msg --help"
+to print the full commit format help.
+
+Lustre-change: https://review.whamcloud.com/46420
+Lustre-commit: 4de05884f2OO89c23556f860381fl7203578220e
+
+Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
+Change-Id: I866ab91b33f6e52ff893344df74af243903ebbe5