lilypond-devel
[Top][All Lists]
Advanced

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

Re: git committish for 1 year ago


From: David Kastrup
Subject: Re: git committish for 1 year ago
Date: Thu, 08 Dec 2011 12:08:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Graham Percival <address@hidden> writes:

> The command for 3 months ago is happy, but not the one for a year:
>
> ~/src/lilypond$ git rev-parse "origin/address@hidden months ago}"
> 95fab3ca9692b197c2a26c5249d7f30b114ab451
>
> ~/src/lilypond$ git rev-parse "origin/address@hidden year ago}" 
> warning: Log for 'origin/master' only goes back to Mon, 29 Aug
> 2011 02:08:20 +0100.
>
>
> Does anybody know why?  I tried checking out a fresh repo, and
> that only went back to today.  But when I look at git log or gitk,
> I can see the full history.

Uh, @ specifications are for the _reflog_.  That is something maintained
strictly locally, for fixing things when you messed up the branch heads
beyond repair.

Try

git log "--since=1 year ago" "--until=9 months ago"

or so instead.  That works on the normal history.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]