]> source.dussan.org Git - jgit.git/commit
NameRevCommand: Use ~ notation for first parents of merges 59/11159/1
authorDave Borowitz <dborowitz@google.com>
Thu, 14 Mar 2013 16:35:00 +0000 (09:35 -0700)
committerDave Borowitz <dborowitz@google.com>
Thu, 14 Mar 2013 16:35:00 +0000 (09:35 -0700)
commit8e2a24a3b636d22a973e89763b5dbf11ec0d6821
tree7e508c28e0582541eea1c807e4179c075e0667a4
parentd2a6c4b95504269b72f749a674be138fb5ecc5da
NameRevCommand: Use ~ notation for first parents of merges

Prefer ~(N+1) to ^1~N. Although both are correct, the former is
cleaner and matches "git name-rev".

Change-Id: I772001a219e5eb346f5552c92e6d98c70b2cfa98
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/NameRevCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java