Mark Levedahl [off-list ref] writes:
Junio C Hamano wrote:
...
quoted
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.