Re: Exact format of tree objets

2013-06-18 Thread Chico Sokol
What is the encoding of the filename? -- Chico Sokol On Tue, Jun 11, 2013 at 3:26 PM, Ilari Liusvaara wrote: > On Tue, Jun 11, 2013 at 01:25:14PM -0300, Chico Sokol wrote: >> Is there any official documentation of tree objets format? Are tree >> objects encoded specially in so

Re: Exact format of tree objets

2013-06-18 Thread Chico Sokol
Thanks! By the way, where can I find this kind of specification? I couldn't find the spec of tree objects here: https://github.com/git/git/tree/master/Documentation -- Chico Sokol On Wed, Jun 12, 2013 at 11:06 AM, Jakub Narebski wrote: > Junio C Hamano pobox.com> writes: >

Exact format of tree objets

2013-06-11 Thread Chico Sokol
ge output, which indicate some kink of encoding problem. Something like: 100644 .gitignore+��▒,��Wy�100644 LICENSE.txt|�y`�T�'�n��XaaDQg�100644 README0�I˩��K�) Thanks, -- Chico Sokol -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a m

Re: Reading commit objects

2013-05-22 Thread Chico Sokol
yteArray())); Thank you all! -- Chico Sokol On Wed, May 22, 2013 at 11:25 AM, Chico Sokol wrote: >> Your code is broken. IOUtils is probably corrupting what you get back. >> After inflating the stream you should see the object type ("commit"), >> space, its len

Re: Reading commit objects

2013-05-22 Thread Chico Sokol
> Your code is broken. IOUtils is probably corrupting what you get back. > After inflating the stream you should see the object type ("commit"), > space, its length in bytes as a base 10 string, and then a NUL ('\0'). > Following that is the tree line, and parent(s) if any. I wonder if > IOUtils di

Re: Reading commit objects

2013-05-22 Thread Chico Sokol
yte for each format: RFC1950 zlib w/ deflate : 0www1000 : 0 <= www <= 7 Experimental pack-based : Sttt : ttt = 1,2,3,4 -- Chico Sokol On Wed, May 22, 2013 at 2:59 AM, Shawn Pearce wrote: > On Tue, May 21, 2013 at 3:18 PM, Chico Sokol wrote: >> Ok, we discovered that the commit obje

Re: Reading commit objects

2013-05-21 Thread Chico Sokol
It was git who created that object. We're trying to build a improved java library focused in our needs (jgit has a really confusing api focused in solving egit needs). But we're about to get into their code to discover how to decompress git objects. -- Chico Sokol On Tue, May 21, 20

Re: Reading commit objects

2013-05-21 Thread Chico Sokol
uld appreciate any help any help. -- Chico Sokol On Tue, May 21, 2013 at 6:37 PM, John Szakmeister wrote: > On Tue, May 21, 2013 at 5:21 PM, Chico Sokol wrote: >> Hello, >> >> I'm building a library to manipulate git repositories (interacting >> directly with

Reading commit objects

2013-05-21 Thread Chico Sokol
0112 -0300 committer Francisco Sokol 1369140112 -0300 first commit We hoped to get the same output of a "git cat-file -p ", but that didn't happened. From a commit object, how can I find tree object hash of this commit? Thanks, -- Chico Sokol -- To unsubscribe from this list: send