[PATCH] Replace merge-base implementation
commitb6b15db3f464b18180eee79927cb324fd63e15ff
authorDaniel Barkalow <barkalow@iabervon.org>
Sun, 24 Apr 2005 01:47:23 +0000 (23 18:47 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 01:47:23 +0000 (23 18:47 -0700)
treec39c3027cb15e3d014f959c07794f96b4d4218ea
parent8237b1854c64492ab5772994b4ac4efd7f1c2fc0
[PATCH] Replace merge-base implementation

The old implementation was a nice algorithm, but, unfortunately, it could
be confused in some cases and would not necessarily do the obvious thing
if one argument was decended from the other. This version fixes that by
changing the criterion to the most recent common ancestor.

Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
merge-base.c