git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: reflog/show question

From
Geoff Russell <geoffrey.russell@gmail.com>
Date
Apr 29, 2008, 22:06 UTC
Message-ID
<93c3eada0804291506n7432b348p2b726926b5fc8f80@mail.gmail.com>
In-Reply-To
<20080429201214.GB20509@sigill.intra.peff.net>
On 4/30/08, Jeff King <peff@peff.net> wrote:
Show 28 quoted lines
> On Tue, Apr 29, 2008 at 11:17:09AM +0930, Geoff Russell wrote:
>
>  > >  >      git show HEAD@{"3 minutes ago"}
>  > >  >
>  > >  > works as I expect, but
>  > >  >
>  > >  >      git show HEAD@{"3 minutes ago"}:data/node/node.data
>  > >  >
>  > >  > gives me a message:
>  > >  >
>  > >  >        warning: Log for 'HEAD' only goes back to Mon, 28 Apr 2008
>  > >  >        10:18:37 +0930.
>  > >  >
>  > >
>
> > I think its something to do with the filename and my commit comments.
>  > The command works as expected on other files.  The HEAD file is
>  > attached.
>
>
> Hmm. Are you sure that the commit you got from HEAD@{"3 minutes ago"}
>  actually _has_ the file data/node/node.data? If it doesn't, then you get
>  the error message you saw. And it may be that the reflog warning happens
>  in _both_ cases, only you don't see it in the first because it is masked
>  by the pager. In v1.5.5, that output is now sent to the pager, instead.
>
>  -Peff
>

Later today (touch wood) I'll prepare as small a test case as possible, then send a tar.gz of the .git directory. Okay?

Geoff.
-- 
6 Fifth Ave,
St Morris, S.A. 5068
Australia
Ph: 041 8805 184 / 08 8332 5069
Previous: Jeff KingNext: Jeff King
Message 5 of 11 in “reflog/show question”
  1. Geoff RussellApr 28, 2008
  2. Jeff KingApr 28, 2008
  3. Geoff RussellApr 29, 2008
  4. Jeff KingApr 29, 2008
  5. Geoff RussellApr 29, 2008
  6. Jeff KingApr 29, 2008
  7. Geoff RussellApr 30, 2008
  8. Geoff RussellApr 30, 2008
  9. Geoff RussellMay 1, 2008
  10. Jeff KingMay 1, 2008
  11. Geoff RussellMay 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.