Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit e736957

Browse files
authored
Merge pull request #20 from airvin/iterator-methods
Iterator methods
2 parents c7f1499 + 8ede305 commit e736957

File tree

3 files changed

+288
-12
lines changed

3 files changed

+288
-12
lines changed

commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
4+
grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"

create-commit-msg-hook.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
cp commit-msg .git/hooks

0 commit comments

Comments
 (0)