Code

Remove duplicate ref matches in fetch
authorDaniel Barkalow <barkalow@iabervon.org>
Mon, 8 Oct 2007 04:25:07 +0000 (00:25 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Oct 2007 00:28:06 +0000 (20:28 -0400)
commit2467a4fa03ff849fcf2f6a93b89057aebd49c62b
treefc6ff162d3b6ca5680483f8ef714934aae8e484f
parent2b5a06edca8f7237aad6464b349b79772024d2a2
Remove duplicate ref matches in fetch

If multiple refspecs matched the same ref, the update would be
processed multiple times. Now having the same destination for the same
source has no additional effect, and having the same destination for
different sources is an error.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
builtin-fetch.c
remote.c
remote.h