Re: diff/Checking out by date specification

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

 



On Mon, Jun 30, 2008 at 01:21:05AM -0400, Jeff King wrote:

> Depending on what you want to do, that may be enough. But more likely,
> you are interested in the actual shape of history, so looking at the
> individual commits with something like "gitk --since=2008-01-01
> --until=2008-01-08" is probably going to be more instructive.

Side note: what you may have _really_ wanted was "what is the difference
between what was in Junio's 'master' branch on those dates". I.e.,
looking at the sequence of states at the tip of some "official" git
repo.

In that case, you could get the answer you want by looking in Junio's
reflog. However, that information is not generally available through
git. There is no support for downloading reflogs, and most people don't
have reflogs enabled on their published bare repos. If Junio enabled
reflogs on pushing to his bare repo, then you could manually download
them into your .git/logs/ hierarchy and pretend that that was your
history of your refs.

-Peff
--
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