Skip to content
Snippets Groups Projects
Commit 034a0ef4 authored by Li Wei's avatar Li Wei Committed by Oleg Drokin
Browse files

LU-2961 build: Fix commit-msg to love new files


It is annoying to receive errors like this when the changes being
committed include new files:

  $ git commit -asv --amend
  line 65: diff --git a/lustre/include/lustre_errno.h
  b/lustre/include/lustre_errno.h
  new file mode 100644
  error: commit message invalid signoff section line
  line 66: index 0000000..89b8d1b
  error: commit message invalid signoff section line
  line 67: --- /dev/null
  error: commit message invalid signoff section line
  ...

This patch adds the "new file mode" pattern to commit-msg.  Hopefully,
this is enough.

Signed-off-by: default avatarLi Wei <wei.g.li@intel.com>
Change-Id: I39c985d51afb04184322a8fc725bcef3938bf419
Reviewed-on: http://review.whamcloud.com/5712


Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Reviewed-by: default avatarBruce Korb <bruce_korb@xyratex.com>
Tested-by: default avatarMaloo <whamcloud.maloo@gmail.com>
parent 3a950360
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment