git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Branches and all commits
@ 2005-12-19 15:15 Jon Nelson
  2005-12-19 16:15 ` Andreas Ericsson
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Nelson @ 2005-12-19 15:15 UTC (permalink / raw)
  To: git


Should *all* commits be reachable via at least one branch? I ran into a 
situation this weekend that has me a little confused. I had performed a 
number of commits and such and I noticed that the author and committer 
info had suboptimal values. A bit of searching led me to a comment made 
by Linus that basically said "go hack git-convert-objects", which I did. 
After performing git-convert-objects on every commit object in 
.git/refs/heads and the requisite pruning, etc... just about everything 
looked fine. However, I still had a long series of commits that 
contained the wrong information. Further inspection makes it appear as 
though these commits are not reachable via any branch, although they are 
/all/ reachable via a series of tags. I worked around the problem by 
further modifying git-convert-objects to also understand tags (at least 
the basic ones I've got) and that's all taken care of, but the question 
remains: should *all* commit objects be reachable by at least one 
branch?

--
Jon Nelson <jnelson-git@jamponi.net>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-12-19 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-19 15:15 Branches and all commits Jon Nelson
2005-12-19 16:15 ` Andreas Ericsson
2005-12-19 17:39   ` Jon Nelson
2005-12-19 17:52     ` Andreas Ericsson
2005-12-19 18:59       ` Jon Nelson
2005-12-19 19:32         ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).