[PATCH] Prevent git-rev-list --merge-order producing duplicates in the output
authorJon Seymour <jon.seymour@gmail.com>
Mon, 20 Jun 2005 02:29:36 +0000 (12:29 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 20 Jun 2005 03:13:18 +0000 (20:13 -0700)
commiteff19d5eccd02341a25f1543ff89fa7351163e3f
tree6c8c5672eabf7e4d3455a5604c37e988ca0e7cc2
parentc3c1163137b0b1bbe1edf9da0421832e452c7a10
[PATCH] Prevent git-rev-list --merge-order producing duplicates in the output

If a is reachable from b, then git-rev-list --merge-order b a would
produce a duplicate output of b.

This causes a problem for an upcoming version of gitk since it
breaks the --merge-order ordering invariant.

This patch fixes the problem for the --merge-order switch. A subsequent
patch will fix the problem for the non --merge-order switch.

Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
epoch.c