[PATCH] Do not let rsync obliterate .git/object symbolic link.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Junio C Hamano 2005-04-18 16:49:21 -07:00 committed by Linus Torvalds
parent 4789576e0e
commit 0ffb0bcaf6

View File

@ -6,7 +6,7 @@
merge_repo=$1
echo "Getting object database"
rsync -avz --ignore-existing $merge_repo/ .git/
rsync -avz --ignore-existing $merge_repo/objects/. .git/objects/.
echo "Getting remote head"
rsync -avz $merge_repo/HEAD .git/MERGE_HEAD