mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
[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:
parent
4789576e0e
commit
0ffb0bcaf6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user