Skip to content

Commit 7501015

Browse files
committed
Merge branch 'ks/prepare-commit-msg-sample-fix'
An "oops" fix to a topic that is already in 'master'. * ks/prepare-commit-msg-sample-fix: hook: use correct logical variable
2 parents 0ca2f32 + 51f5a2b commit 7501015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/hooks--prepare-commit-msg.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ SHA1=$3
3434
# *) ;;
3535
# esac
3636

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

0 commit comments

Comments
 (0)