From: Junio C Hamano Date: Mon, 18 Apr 2005 23:49:21 +0000 (-0700) Subject: [PATCH] Do not let rsync obliterate .git/object symbolic link. X-Git-Tag: v0.99~819 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0ffb0bcaf6ab6277527f6ac8623632a9de55114d;p=git.git [PATCH] Do not let rsync obliterate .git/object symbolic link. Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff --git a/git-pull-script b/git-pull-script index 407488ae..b873203c 100755 --- a/git-pull-script +++ b/git-pull-script @@ -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