Code

git-svn: error out from dcommit on a parent-less commit
authorEric Wong <normalperson@yhbt.net>
Thu, 23 Nov 2006 22:54:03 +0000 (14:54 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 23 Nov 2006 23:17:43 +0000 (15:17 -0800)
commit48d044b5fe7ae553f05186db46b5cb4708afceb4
treedc62f430e87224eab90095aad3de0de546a5bea5
parent0ea865ce7af4b2b6ee85dc52b5fad84260e27871
git-svn: error out from dcommit on a parent-less commit

dcommit would unconditionally append "~1" to a commit in order
to generate a diff.  Now we generate a meaningful error message
if we try to generate an impossible diff.

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