From: Junio C Hamano Date: Sat, 17 Feb 2007 17:53:56 GMT Subject: Re: [PATCH] Add git-unbundle - unpack objects and references for disconnected transfer Message-ID: <7v8xewvfez.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <45D713C0.1010401@verizon.net> Mark Levedahl writes: > 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.