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

Re: [RFC] diff-cache buglet

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 26, 2005, 18:06 UTC
Message-ID
<Pine.LNX.4.58.0504261103550.18901@ppc970.osdl.org>
In-Reply-To
<7vy8b5o211.fsf@assigned-by-dhcp.cox.net>
On Tue, 26 Apr 2005, Junio C Hamano wrote:
Show 7 quoted lines
> 
> While I agree with you that we should somehow show the stage, I
> do not like your suggestion above very much.  How about adding
> one column for stage number before the filename when --unmerged
> is given, just like show-files --stage shows?  You'd soon get
> used to the pattern that has a single digit in between
> whitespaces to recognize which is merged and which isn't.

Well, except for the fact that that isn't machine-readable either, since the "1 " thing might just be part of the filename..

But you could use "/" to guarantee that it's unique, together with knowing that git refuses to have non-canonical filenames.

Ie 1//filename.c _would_ be machine-readable, thanks to the "//" part, which cannot be part of a valid canonical git filename.

		Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 9 in “[RFC] diff-cache buglet”
  1. Junio C HamanoApr 26, 2005
  2. Linus TorvaldsApr 26, 2005
  3. Junio C HamanoApr 26, 2005
  4. Linus TorvaldsApr 26, 2005
  5. Junio C HamanoApr 26, 2005
  6. Linus TorvaldsApr 26, 2005
  7. Junio C HamanoApr 26, 2005
  8. Linus TorvaldsApr 26, 2005
  9. Junio C HamanoApr 26, 2005

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.