[PATCH v2] git pre-commit hook

David Shea dshea at redhat.com
Thu Sep 26 15:08:35 UTC 2013


This removes all of the `git show' stuff so that the hook runs against the
working tree instead of the staged commit, but adds an error if a python file
in the commit does not match a file in the working tree.

I removed the --displayname parameter to runpylint.sh, but I kept the part
where it prints the filename instead of the module name.



More information about the anaconda-patches mailing list