cat .git/hooks/commit-msg
#!/bin/sh
# INSTALLED BY DCO GEM
export
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby /Library/Ruby/Gems/2.3.0/gems/dco-1.0.1/bin/dco process_commit_message $1
exit $?
on macOS the prints out all export on every commit. looks like this line is the cultprit:
I have enabled dco and my commit hook has an empty
exportline:on macOS the prints out all export on every commit. looks like this line is the cultprit:
https://github.com/coderanger/dco/blob/master/lib/dco/cli.rb#L147