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

Re: Retrieving a file at a before a specified commit

From
Junio C Hamano <gitster@pobox.com>
Date
May 30, 2013, 02:27 UTC
Message-ID
<7vobbtp5h5.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130530105956.dbf5e3363fa0abbc0143d463@mega-nerd.com>
Erik de Castro Lopo <erikd@mega-nerd.com> writes:
Show 8 quoted lines
> Erik de Castro Lopo wrote:
>
>> Does this explanation make sense?
>
> Just to answer my own question, Yes it does.
>
> The file was added in commit 53266574 and was actually zero length
> at that time.

While you are at it, you may want to check your LESS environment variable settings, especially if you find that the command gives you control without showing anything for a small (not zero length) file.

Previous: Erik de Castro LopoNext: Erik de Castro Lopo
Message 5 of 8 in “Retrieving a file at a before a specified commit”
  1. Erik de Castro LopoMay 29, 2013
  2. Jeff KingMay 29, 2013
  3. Erik de Castro LopoMay 30, 2013
  4. Erik de Castro LopoMay 30, 2013
  5. Junio C HamanoMay 30, 2013
  6. Erik de Castro LopoMay 30, 2013
  7. Jeff KingMay 30, 2013
  8. Erik de Castro LopoMay 30, 2013

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.