Skip to content

Commit

Permalink
Merge branch 'ks/prepare-commit-msg-sample-fix'
Browse files Browse the repository at this point in the history
An "oops" fix to a topic that is already in 'master'.

* ks/prepare-commit-msg-sample-fix:
  hook: use correct logical variable
  • Loading branch information
gitster committed Aug 23, 2017
2 parents 0ca2f32 + 51f5a2b commit 7501015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/hooks--prepare-commit-msg.sample
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SHA1=$3
# *) ;;
# esac

# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
# if test -z "$COMMIT_SOURCE"
# then
Expand Down

0 comments on commit 7501015

Please sign in to comment.