[pitivi: 19/28] Fix a typo in the pre-commit hook.
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 19/28] Fix a typo in the pre-commit hook.
- Date: Thu, 14 Jul 2011 16:24:48 +0000 (UTC)
commit 86f35e57edc1e0258b5ca6f1639fc5d547af180c
Author: Benjamin M. Schwartz <bens alum mit edu>
Date: Sat Jul 9 19:19:42 2011 -0400
Fix a typo in the pre-commit hook.
Without this fix, the pre-commit hook does not actually run.
pre-commit.hook | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pre-commit.hook b/pre-commit.hook
index 4a14032..a832496 100755
--- a/pre-commit.hook
+++ b/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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]