summaryrefslogtreecommitdiff
path: root/git-sh-setup.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-12-12 14:22:59 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-12 14:22:59 -0800
commit694a88a309c74ffeefa9a0db0396ee4c168a521c (patch)
tree79007f8bcf98505df2e4cf423ac7307535c1b2d1 /git-sh-setup.sh
parentMerge branch 'cn/thin-push-capability' (diff)
parentremove #!interpreter line from shell libraries (diff)
downloadtgif-694a88a309c74ffeefa9a0db0396ee4c168a521c.tar.xz
Merge branch 'jn/scripts-updates'
* jn/scripts-updates: remove #!interpreter line from shell libraries test: replace shebangs with descriptions in shell libraries test: make FILEMODE a lazy prereq contrib: remove git-p4import mark contributed hooks executable mark perl test scripts executable mark Windows build scripts executable
Diffstat (limited to 'git-sh-setup.sh')
-rw-r--r--git-sh-setup.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh
index ebfe8f7a4d..190a5394b9 100644
--- a/git-sh-setup.sh
+++ b/git-sh-setup.sh
@@ -1,9 +1,6 @@
-#!/bin/sh
-#
-# This is included in commands that either have to be run from the toplevel
-# of the repository, or with GIT_DIR environment variable properly.
-# If the GIT_DIR does not look like the right correct git-repository,
-# it dies.
+# This shell scriplet is meant to be included by other shell scripts
+# to set up some variables pointing at the normal git directories and
+# a few helper shell functions.
# Having this variable in your environment would break scripts because
# you would cause "cd" to be taken to unexpected places. If you