git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* In tree object, Must the
@ 2012-04-08  3:43 Yi, EungJun
  2012-04-08 13:20 ` Carlos Martín Nieto
  2012-04-09 18:25 ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Yi, EungJun @ 2012-04-08  3:43 UTC (permalink / raw)
  To: git

Hello,

I'm implementing Git using node.js, and I have a question while I
write some code to store tree object.

Tree object looks a table consists of three fields: blob's mode, name
and id, as below.

e.g.)
$ git cat-file -p 45799547
100644 blob cd242b1e5bb403500feb49a1aa656c21c6c0be69	Makefile
100644 blob bf382321749577d52bd2fbf2281df0510b4bad31	README.md
100644 blob 5441bb48428611a3cb140d8192d39484fcf3b742	fsutil.js
100644 blob 0af680a5c0dd4482b09aa7f8e837234bed0b7cfa	package.json
040000 tree 39a4d45669addfb1e8f0a499deebc5b97b4edfa0	test

It seems that the table is stored in order by blob's name.

If it is true, what happens if it is not ordered?

Does that cause any troubles to users to use a git repository created
and managed by my Git implementation?

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

end of thread, other threads:[~2012-04-09 21:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-08  3:43 In tree object, Must the Yi, EungJun
2012-04-08 13:20 ` Carlos Martín Nieto
2012-04-08 15:22   ` Yi, EungJun
2012-04-09 18:25 ` Junio C Hamano
2012-04-09 18:29   ` Shawn Pearce
2012-04-09 20:05     ` Junio C Hamano
2012-04-09 21:03       ` Shawn Pearce

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).