Re: [PATCH] Add git-unbundle - unpack objects and references for disconnected transfer
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 17, 2007, 17:53 UTC
- Message-ID
- <7v8xewvfez.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <45D713C0.1010401@verizon.net>
Mark Levedahl <mdl123@verizon.net> writes:
Show 13 quoted lines
> Junio C Hamano wrote: > ... >> A final note. A real 'mirror' mode should also remove stale >> refs that do not exist on the remote side anymore, which is a >> different use case as your bundle,... >> ... A real 'mirror' mode >> would use a separate option to remove a ref that does not exist >> on the remote end anymore, like: >> >> $ git fetch --mirror-all git://git.kernel.org/pub/scm/git/git.git >> > Perhaps "git fetch --mirror --delete" would be more suggestive of the > difference to "git fetch --mirror"?
I think that is a good suggestion, as people familiar with rsync already know what --delete means in such a context.