projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a "git-daemon" that listens on a TCP port
[git.git]
/
git-fetch-script
diff --git
a/git-fetch-script
b/git-fetch-script
index
8a2d37d
..
acb1e56
100755
(executable)
--- a/
git-fetch-script
+++ b/
git-fetch-script
@@
-9,8
+9,8
@@
if [ "$2" = "tag" ]; then
destination="$merge_name"
fi
-: ${GIT_DIR=.git}
-: ${GIT_OBJECT_DIRECTORY="${SHA1_FILE_DIRECTORY-"$GIT_DIR/objects"}"}
+. git-sh-setup-script || die "Not a git archive"
+
TMP_HEAD="$GIT_DIR/TMP_HEAD"
case "$merge_repo" in