Code Review
/
packetcable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Added InactivityTimer, SessionClassId and ActivationState specification
[packetcable.git]
/
git
/
commit-msg
diff --git
a/git/commit-msg
b/git/commit-msg
index 73dbc755ec55250d11d82f09fd6a802e269d7a94..b6937ce22ec127c94a3f6219417c124e644041ed 100755
(executable)
--- a/
git/commit-msg
+++ b/
git/commit-msg
@@
-179,3
+179,6
@@
_gen_ChangeId() {
add_ChangeId
+SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
+grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
+