> -----Original Message----- > From: Junio C Hamano [mailto:gitster@xxxxxxxxx] > Sent: den 8 september 2007 21:54 > To: Joakim Tjernlund > Cc: 'Eric Wong'; 'git' > Subject: Re: git-svn 1.5.3 does not understand grafts? > > "Joakim Tjernlund" <joakim.tjernlund@xxxxxxxxxxxx> writes: > > > hmm, I think git-cat-file is to blame. > > git-cat-file commit da783cce390ce013b19f1d308ea6813269c6a6b5 does > > not list list any parent... > > The plumbing cat-file does not deal with grafts and this is > deliberate. Otherwise you would not be able to find the true > set of parents when you'd want to. > > So do not blame cat-file, but blame the Porcelain that uses > cat-file to read a commit object, without annotating what it > read with what is in grafts, in this case your command line > experiment ;-). > > The log family of commands and rev-list plumbing while > traversing commit ancestry chain do take grafts into account. [SNIP] hmm, this is rather confusing. How I am to know what commands deal with grafts? Appearently some plumbing does and some don't. Would it not be cleaner if all dealt with grafts and add an option to cat-file and friends to skip grafts? Jocke - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html