[tor-commits] [tor/master] lintChanges.py didn't take a directory argument in 0.2.9

nickm at torproject.org nickm at torproject.org
Thu Jan 24 16:08:15 UTC 2019


commit 107e50a90f67ed26a7a24cc6135e5191601184fb
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jan 24 08:05:42 2019 -0500

    lintChanges.py didn't take a directory argument in 0.2.9
---
 scripts/maint/pre-commit.git-hook | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/maint/pre-commit.git-hook b/scripts/maint/pre-commit.git-hook
index 724cd7732..a0d0a8bb6 100755
--- a/scripts/maint/pre-commit.git-hook
+++ b/scripts/maint/pre-commit.git-hook
@@ -10,7 +10,7 @@ workdir=$(git rev-parse --show-toplevel)
 
 cd "$workdir" || exit 1
 
-python scripts/maint/lintChanges.py ./changes
+python scripts/maint/lintChanges.py ./changes/*
 
 perl scripts/maint/checkSpace.pl -C \
 src/lib/*/*.[ch] \





More information about the tor-commits mailing list