]> source.dussan.org Git - jgit.git/commit
RecursiveMerger: do not insert virtual commits into repository 11/31311/2
authorShawn Pearce <spearce@spearce.org>
Fri, 8 Aug 2014 18:19:45 +0000 (11:19 -0700)
committerShawn Pearce <spearce@spearce.org>
Fri, 8 Aug 2014 18:31:24 +0000 (11:31 -0700)
commit4bd28bc9589abe7bf9ea6bc4dde8b4d683baf61a
tree3937f9f8a9277d968e1d4ef5b85df3c5b36cf1f1
parent66ad4237be541555a7b6f394924d5dedcfae4714
RecursiveMerger: do not insert virtual commits into repository

When merging common ancestors to create a single virtual common
ancestor the commit does not need to be inserted into the Git
repository. Instead just mock it out in memory as part of the
merger's RevWalk pool.

Make the author and committer stable and predictable for any
given pair of merge bases. It is not necessary for the caller's
name or email to be used as the commit will not be written out.

Change-Id: I88d5ee4de121950e1b032a5c10486c9d2c42656c
org.eclipse.jgit/src/org/eclipse/jgit/merge/RecursiveMerger.java