GCC Git hooks

Joseph Myers joseph@codesourcery.com
Mon Jan 13 20:47:00 GMT 2020


One more addition I've made to the hooks: rejecting new commits with a 
line in the commit message starting 'From-SVN: ', since such commits would 
confuse the scripts people have to find the git commit corresponding to a 
given SVN commit, and without such a rejection it would be easy for 
someone using "git cherry-pick" (to cherry-pick an SVN-era commit onto 
another branch) to push a commit with From-SVN: by mistake (as git 
cherry-pick copies the original commit message, with a statement about 
being cherry-picked added if you use -x).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc mailing list