{"thread":{"id":"30063","subject":"Finding list of commit object","startedAt":"2012-03-26T15:22:45Z","lastAt":"2012-03-26T16:03:17Z","messageCount":2,"participants":["Anjib Mulepati","Shawn Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"187726","messageId":"BLU0-SMTP344C6638261C23F2023DD72B1450@phx.gbl","threadId":"30063","inReplyTo":null,"subject":"Finding list of commit object","fromName":"Anjib Mulepati","fromEmail":"anjibcs@hotmail.com","sentAt":"2012-03-26T15:22:45Z","receivedAt":"2012-03-26T15:22:45Z","isPatch":false,"sender":{"key":"anjibcs@hotmail.com","avatar":"https://gravatar.com/avatar/7ac86efaee717c505c8eaabde7f28e645eae076024b9761dc426b6b77ff4f2a0?d=mp&s=160"},"body":"Hi All,\n\nI was doing some research on git objects. I understand that each object \nis represented with hash code and we can find the type of object with \ngit cat command. I was wondering is there any command we can give to \nfind the list of commit object (or any other object type) in current \nproject without doing cat on each and every object inside .git/objects/\n\nThanks,\nAnjib\n"},{"id":"187729","messageId":"CAJo=hJsjRLZ4H7HU1DZrNSX5ouP73BJUkxtQm_7HaV8Xg07zzg@mail.gmail.com","threadId":"30063","inReplyTo":"BLU0-SMTP344C6638261C23F2023DD72B1450@phx.gbl","subject":"Re: Finding list of commit object","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2012-03-26T16:03:17Z","receivedAt":"2012-03-26T16:03:17Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"On Mon, Mar 26, 2012 at 08:22, Anjib Mulepati <anjibcs@hotmail.com> wrote:\n> I was doing some research on git objects. I understand that each object is\n> represented with hash code and we can find the type of object with git cat\n> command. I was wondering is there any command we can give to find the list\n> of commit object (or any other object type) in current project without doing\n> cat on each and every object inside .git/objects/\n\ngit rev-list --all\n\nThat will list all commits, starting from each current branch or tag\nand walking backwards through history.\n"}]}