Code

git-svn: understand grafts when doing dcommit
authorEric Wong <normalperson@yhbt.net>
Sat, 8 Sep 2007 23:33:08 +0000 (16:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 Sep 2007 09:30:33 +0000 (02:30 -0700)
commit7b02b85a66fee6b357e02f9e70dd0baa0fd24308
tree669e311d54227e9bc883b51951b3274ebd6bd270
parent5701115aa7cfe7edd57c2483085456a37e27a5ba
git-svn: understand grafts when doing dcommit

Use the rev-list --parents functionality to read the parents
of the commit.  cat-file only shows the raw object with the
original parents and doesn't take into account grafts; so
we'll rely on rev-list machinery for the smarts here.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl