projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fmt-patch: Support --attach
[git.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index
b785247
..
227245c
100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-261,11
+261,7
@@
yes,yes)
;;
yes)
mkdir -p "$GIT_DIR/objects/info"
;;
yes)
mkdir -p "$GIT_DIR/objects/info"
- {
- test -f "$repo/objects/info/alternates" &&
- cat "$repo/objects/info/alternates";
- echo "$repo/objects"
- } >>"$GIT_DIR/objects/info/alternates"
+ echo "$repo/objects" >> "$GIT_DIR/objects/info/alternates"
;;
esac
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD"
;;
esac
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD"