[libgames-support] Add intended usage for style-checker
- From: Sahil Sareen <ssareen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] Add intended usage for style-checker
- Date: Sat, 5 Dec 2015 15:59:04 +0000 (UTC)
commit b4199603c98e91dbcd24e3911853652bbac6c3b0
Author: Sahil Sareen <sahil sareen hotmail com>
Date: Sat Dec 5 21:28:22 2015 +0530
Add intended usage for style-checker
style-checker | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/style-checker b/style-checker
index c242827..d9b0009 100755
--- a/style-checker
+++ b/style-checker
@@ -29,9 +29,16 @@
# To use it as a pre-commit hook, Update autogen.sh to symlink to this file
#
# if [ -d $srcdir/.git ] && [ ! -L $srcdir/.git/hooks/pre-commit ]; then
-# ln -s $srcdir/../libgames-support/style-checker $srcdir/.git/hooks/pre-commit
+# ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-commit
# fi
#
+# Note: This can be used as the following hooks:
+# Client side
+# - pre-commit
+# - pre-applypatch
+# - pre-push
+# Server side
+# - pre-receive
import sys
import re
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]