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

Re: Feature request: relative paths

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 6, 2010, 09:01 UTC
Message-ID
<20100506090132.GA26079@progeny.tock>
In-Reply-To
<20100506084607.GA9921@atjola.homenet>
Björn Steinbrink wrote:
> On 2010.05.06 03:31:13 -0500, Jonathan Nieder wrote:
>> git show -- some-file
>
> That's the same as "git show HEAD -- some-file" though, which shows a
> commit with path-limited diff output.
Thanks for catching the thinko.
> While ":some-file" (most likely)
> identifies a blob, so "git show :some-file" shows the contents stored in
> that blob.
I suggest reviving Dscho’s :./ syntax[1].

Cheers, Jonathan

[1] http://thread.gmane.org/gmane.comp.version-control.git/68786/focus=68905
Previous: Björn SteinbrinkNext: Jeff King
Message 4 of 6 in “Feature request: relative paths”
  1. Eli BarzilayMay 6, 2010
  2. Jonathan NiederMay 6, 2010
  3. Björn SteinbrinkMay 6, 2010
  4. Jonathan NiederMay 6, 2010
  5. Jeff KingMay 6, 2010
  6. Jeff KingMay 6, 2010

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.