* Finding list of commit object
@ 2012-03-26 15:22 Anjib Mulepati
2012-03-26 16:03 ` Shawn Pearce
0 siblings, 1 reply; 2+ messages in thread
From: Anjib Mulepati @ 2012-03-26 15:22 UTC (permalink / raw)
To: git
Hi All,
I was doing some research on git objects. I understand that each object
is represented with hash code and we can find the type of object with
git cat command. I was wondering is there any command we can give to
find the list of commit object (or any other object type) in current
project without doing cat on each and every object inside .git/objects/
Thanks,
Anjib
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Finding list of commit object
2012-03-26 15:22 Finding list of commit object Anjib Mulepati
@ 2012-03-26 16:03 ` Shawn Pearce
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Pearce @ 2012-03-26 16:03 UTC (permalink / raw)
To: Anjib Mulepati; +Cc: git
On Mon, Mar 26, 2012 at 08:22, Anjib Mulepati <anjibcs@hotmail.com> wrote:
> I was doing some research on git objects. I understand that each object is
> represented with hash code and we can find the type of object with git cat
> command. I was wondering is there any command we can give to find the list
> of commit object (or any other object type) in current project without doing
> cat on each and every object inside .git/objects/
git rev-list --all
That will list all commits, starting from each current branch or tag
and walking backwards through history.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-26 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 15:22 Finding list of commit object Anjib Mulepati
2012-03-26 16: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).