[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Improve pre-push.git-hook description



commit 0deea98d021d105eeb5dc5c43c144847ad188ea5
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
Date:   Wed Feb 20 19:56:37 2019 +0200

    Improve pre-push.git-hook description
---
 scripts/maint/pre-push.git-hook | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/scripts/maint/pre-push.git-hook b/scripts/maint/pre-push.git-hook
index 14bc0690c..24043978b 100755
--- a/scripts/maint/pre-push.git-hook
+++ b/scripts/maint/pre-push.git-hook
@@ -1,9 +1,10 @@
 #!/bin/bash
 
-# git pre-push hook script to prevent "fixup!" and "squash!" commit
-# from ending up in master, or in any branch if CUR_BRANCH check is removed.
-# Furthermore, it disallows pushing branches other than master, release-*
-# and maint-* to origin (e.g. gitweb.torproject.org).
+# git pre-push hook script to:
+# 1) prevent "fixup!" and "squash!" commit from ending up in master, release-*
+#    or maint-*
+# 2) Disallow pushing branches other than master, release-*
+#    and maint-* to origin (e.g. gitweb.torproject.org).
 #
 # To install this script, copy it into .git/hooks/pre-push path in your
 # local copy of git repository. Make sure it has permission to execute.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits