aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-11-29 11:10:30 +0200
committerrl1987 <rl1987@sdf.lonestar.org>2018-11-29 11:10:30 +0200
commit7c6dc2888144e587bc8d62c7b2bddae4fb6606b9 (patch)
tree7d6ddfaf2c90213c7c9af204e7064d624e395839 /scripts/maint
parente2b418bab5c3249fba7b430b942da67ddf8a43dc (diff)
downloadtor-7c6dc2888144e587bc8d62c7b2bddae4fb6606b9.tar.gz
tor-7c6dc2888144e587bc8d62c7b2bddae4fb6606b9.zip
Improve comment at the top
Diffstat (limited to 'scripts/maint')
-rwxr-xr-xscripts/maint/pre-push.git-hook8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/maint/pre-push.git-hook b/scripts/maint/pre-push.git-hook
index 26c48c4e21..11f062b539 100755
--- a/scripts/maint/pre-push.git-hook
+++ b/scripts/maint/pre-push.git-hook
@@ -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