{"thread":{"id":"41074","subject":"git objects","startedAt":"2015-12-24T22:17:37Z","lastAt":"2015-12-24T23:34:33Z","messageCount":2,"participants":["Thiago Farina","Shawn Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"274993","messageId":"CACnwZYfMKG18ZTR3bCLY5FRsBYmSsC9Co2e=iLRYxsM=w=Dqog@mail.gmail.com","threadId":"41074","inReplyTo":null,"subject":"git objects","fromName":"Thiago Farina","fromEmail":"tfransosi@gmail.com","sentAt":"2015-12-24T22:17:37Z","receivedAt":"2015-12-24T22:17:37Z","isPatch":false,"sender":{"key":"tfransosi@gmail.com","avatar":"https://avatars.githubusercontent.com/u/970071?v=4"},"body":"Hi,\n\nWhen ever I make a commit (assume I'm changing a single file) and do a\n'git push origin master', git says 'Counting objects: 6, done.'\n\nDoes git makes 6 objects everytime? What are those objects?\n\n-- \nThiago Farina\n"},{"id":"274995","messageId":"CAJo=hJt9c6gr9AuapR7yUSYchF8=67AYQp-06XrTudbfa2ipkA@mail.gmail.com","threadId":"41074","inReplyTo":"CACnwZYfMKG18ZTR3bCLY5FRsBYmSsC9Co2e=iLRYxsM=w=Dqog@mail.gmail.com","subject":"Re: git objects","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2015-12-24T23:34:33Z","receivedAt":"2015-12-24T23:34:33Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"On Thu, Dec 24, 2015 at 2:17 PM, Thiago Farina <tfransosi@gmail.com> wrote:\n>\n> When ever I make a commit (assume I'm changing a single file) and do a\n> 'git push origin master', git says 'Counting objects: 6, done.'\n>\n> Does git makes 6 objects everytime? What are those objects?\n\n1 commit object;\n1 blob object for the new file revision;\n1 tree object for the top level directory;\n3 tree objects for intermediate paths\n= 6\n\nSo your single file is some path like \"src/main/lib/foo.c\".\n"}]}