"Good PR" mechanical check

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 12 13:04:33 PST 2016


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


More information about the Digitalmars-d mailing list