Code

cvsexportcommit: fix for commits that do not have parents
authorBrad King <brad.king@kitware.com>
Wed, 31 Oct 2007 20:55:13 +0000 (16:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Nov 2007 06:51:13 +0000 (23:51 -0700)
commit6b6012e6ca628a00d2e0fa6f686017f9e2d66203
treeb3c8b6e527e2f3d067099d79992f610c9fc58d75
parent3f2a7ae2c84c921e11041a5edc2522964fc1cce5
cvsexportcommit: fix for commits that do not have parents

Previously commits without parents would fail to export with a
message indicating that the commits had more than one parent.
Instead we should use the --root option for git-diff-tree in
place of a parent.

Signed-off-by: Brad King <brad.king@kitware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsexportcommit.perl