Graham Percival <[email protected]> writes:

> The command for 3 months ago is happy, but not the one for a year:
>
> ~/src/lilypond$ git rev-parse "origin/master@{3 months ago}"
> 95fab3ca9692b197c2a26c5249d7f30b114ab451
>
> ~/src/lilypond$ git rev-parse "origin/master@{1 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


_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to