Merge
commit
c0b7391bf5
10
git-clone.sh
10
git-clone.sh
|
@ -377,9 +377,9 @@ then
|
||||||
*) origin_track="$remote_top/$origin"
|
*) origin_track="$remote_top/$origin"
|
||||||
git-update-ref "refs/heads/$origin" "$head_sha1" ;;
|
git-update-ref "refs/heads/$origin" "$head_sha1" ;;
|
||||||
esac &&
|
esac &&
|
||||||
echo >"$GIT_DIR/remotes/$origin" \
|
git-repo-config remote."$origin".url "$repo" &&
|
||||||
"URL: $repo
|
git-repo-config remote."$origin".fetch \
|
||||||
Pull: refs/heads/$head_points_at:$origin_track" &&
|
"refs/heads/$head_points_at:$origin_track" &&
|
||||||
(cd "$GIT_DIR/$remote_top" && find . -type f -print) |
|
(cd "$GIT_DIR/$remote_top" && find . -type f -print) |
|
||||||
while read dotslref
|
while read dotslref
|
||||||
do
|
do
|
||||||
|
@ -393,8 +393,8 @@ Pull: refs/heads/$head_points_at:$origin_track" &&
|
||||||
then
|
then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
echo "Pull: refs/heads/${name}:$remote_top/${name}"
|
git-repo-config remote."$origin".fetch "refs/heads/${name}:$remote_top/${name}" '^$'
|
||||||
done >>"$GIT_DIR/remotes/$origin" &&
|
done &&
|
||||||
case "$use_separate_remote" in
|
case "$use_separate_remote" in
|
||||||
t)
|
t)
|
||||||
rm -f "refs/remotes/$origin/HEAD"
|
rm -f "refs/remotes/$origin/HEAD"
|
||||||
|
|
Loading…
Reference in New Issue