This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Git hooks


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]