Junio C Hamano <gitster@xxxxxxxxx> writes: > I agree that it would be ideal to have just one way generic and > extensible enough. I do not know if there are much difference in > that area between the two approaches, though. The RFC I saw did > look more complex and rigidly specified with framing and such, but > that is only the syntax part---in the way in which interaction > between two processes happen, I didn't quite see fundamental > differences. I'd expect it wouldn't be too much trouble to add new > commands to code written using either approach (although I haven't > seen yours yet ;-). > > Thanks. It is similar to this approach, except: - the approach I sent out uses pkt-line, which might be difficult to retrofit to cat-file if we need it - in the future, we want the Git side to be able to initiate requests - (possibly minor) it may be confusing if we add functionality to cat-file that is not about reading objects Other than that, yes, they are similar.