pre-commit script: only run on files that exist, not deleted files.
authorMichael Smith <msmith@songbirdnest.com>
Tue, 10 Feb 2009 20:17:10 +0000 (12:17 -0800)
committerMichael Smith <msmith@songbirdnest.com>
Tue, 10 Feb 2009 20:17:10 +0000 (12:17 -0800)
commit87936c48afae911843b4a827869dbf2bd65ea6e9
tree45aefb6c8fc15cd0dcb4fb930ea69ffd6fc7a12b
parent80c627dfabb45c3f40727dce755c81bed1e38e3d
pre-commit script: only run on files that exist, not deleted files.

Add --diff-filter=ACMR to only get added, copied, modified, or renamed
files (importantly, not deleted files!) in the list of files we run the
indent script on.
hooks/pre-commit.hook