Permalink
Browse files

Fix a typo in the pre-commit hook.

Without this fix, the pre-commit hook does not actually run.
  • Loading branch information...
1 parent 592ab65 commit 86f35e57edc1e0258b5ca6f1639fc5d547af180c @bemasc bemasc committed with nekohayo Jul 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 pre-commit.hook
View
2 pre-commit.hook
@@ -29,7 +29,7 @@ def copy_files_to_tmp_dir(files):
def main():
modified_files = system('git', 'diff-index', '--cached',
- '--name-only', 'HEAD', '--diff-filter', 'ACMR').split("\n")[:-1]
+ '--name-only', 'HEAD', '--diff-filter=ACMR').split("\n")[:-1]
output_message = None
tempdir = copy_files_to_tmp_dir(modified_files)

0 comments on commit 86f35e5

Please sign in to comment.