Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/sh
- . git-sh-setup
- # Add a Signed-off-by by me when applying patches. Only do this for projects
- # you are the maintainer of, and need to add your signoff before pushing out.
- SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
- grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement