On 2016-01-12 15:53, Adam D. Ruppe wrote:

I'm not sure if git supports this but I think it should be done fully
automatically. Not even something the user runs, just when they open the
pull request, it reformats the code.

The hook/tool would need to do a commit with the changes. How would what work? The tool wouldn't have commit access to the repository from where the PR originates. It would also create a new commit hash that wouldn't match with what the user have locally.

--
/Jacob Carlborg

Reply via email to