Advertisement
Guest User

Untitled

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