summaryrefslogtreecommitdiff
path: root/scripts/git/pre-push.git-hook
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2019-05-17 19:24:26 +0300
committerNick Mathewson <nickm@torproject.org>2019-06-05 08:29:55 -0400
commite8aab46a3a95e6d424553625c2a671d79c583d22 (patch)
treea08a3985aeff677045e585d1d27c394815dcb5b6 /scripts/git/pre-push.git-hook
parent0a4e68e4e24849a8d95dfa9ca0eb773b2cda6ebf (diff)
downloadtor-e8aab46a3a95e6d424553625c2a671d79c583d22.tar.gz
tor-e8aab46a3a95e6d424553625c2a671d79c583d22.zip
Document TOR_UPSTREAM_REMOTE_NAME env variable
Diffstat (limited to 'scripts/git/pre-push.git-hook')
-rwxr-xr-xscripts/git/pre-push.git-hook3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/git/pre-push.git-hook b/scripts/git/pre-push.git-hook
index 00e048029e..c9e72a4d43 100755
--- a/scripts/git/pre-push.git-hook
+++ b/scripts/git/pre-push.git-hook
@@ -8,6 +8,9 @@
#
# 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.
+# Furthermore, make sure that TOR_UPSTREAM_REMOTE_NAME environment
+# variable is set to local name of git remote that corresponds to upstream
+# repository on e.g. git.torproject.org.
#
# The following sample script was used as starting point:
# https://github.com/git/git/blob/master/templates/hooks--pre-push.sample