Re: How can I create a commit without a parent?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Tuesday, February 2, 2010 - 1:05 am

Ron Garret <ron1@flownet.com> writes:


Incorrect.  "git commit" might but "git commit-tree" does.  Perhaps you
are forgetting that the first object name is a tree to be wrapped.

A short answer is that you don't create a root commit twice in a single
repository, period.  Your repository _may_ be end up with more than one
root but that typically is due to you fetching unrelated histories from
different repositories, each created its own root.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How can I create a commit without a parent?, Ron Garret, (Tue Feb 2, 1:00 am)
Re: How can I create a commit without a parent?, Junio C Hamano, (Tue Feb 2, 1:05 am)
Re: How can I create a commit without a parent?, Ron Garret, (Tue Feb 2, 1:19 am)
Re: How can I create a commit without a parent?, Jakub Narebski, (Tue Feb 2, 8:02 am)
Re: How can I create a commit without a parent?, Jay Soffian, (Tue Feb 2, 9:40 am)