]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve comment at the top
authorrl1987 <rl1987@sdf.lonestar.org>
Thu, 29 Nov 2018 09:10:30 +0000 (11:10 +0200)
committerrl1987 <rl1987@sdf.lonestar.org>
Thu, 29 Nov 2018 09:10:30 +0000 (11:10 +0200)
scripts/maint/pre-push.git-hook

index 26c48c4e219cdc25b17294f43f9f6df669e8176a..11f062b53951f55808c86609933bfc38cfc3fe93 100755 (executable)
@@ -1,8 +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.
-# It is meant to be placed in .git/hooks directory.
+# 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.
+#
+# This is git pre-push hook script to prevent "fixup!" and "squash!" commits
+# from ending up in upstream branches (master, release-* or maint-*).
 #
 # The following sample script was used as starting point:
 # https://github.com/git/git/blob/master/templates/hooks--pre-push.sample