Re: git-log vs git-rev-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 30 May 2008, Petr Baudis wrote:
> > 
> > Why would you want to use "git-rev-list" at all?
> 
> Because it was the natural command to access history from a script to me
> and nothing in the documentation hinted me that I shouldn't use it.

So use it. Or not.

Just don't think it's the same as "git log".

> Step back a bit: it's git-_REV_-list. Technically, --all --objects is
> nonsensical operation to do on revision list either.

Who cares?

Why are you arguing against *facts*?

The *fact* is, git rev-list can traverse the whole object chain.

The *fact* is that git rev-list can do other operations that have nothing 
to do with logs (bisection, for example).

The *fact* is that both git rev-list and git log can traverse a set of 
revisions, but that doesn't make them the same command.

I totally don't see your arguments. They are pointless. git rev-list and 
git log already share all the relevant internal machinery for the things 
where they overlap in capabilities. And the fact that they output 
different things is because they are different.

			Linus
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux