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

Re: status letters consistency in log and ls-files

From
Jeff King <peff@peff.net>
Date
Sep 26, 2008, 22:45 UTC
Message-ID
<20080926224546.GB24817@coredump.intra.peff.net>
In-Reply-To
<ee2a733e0809261128h4c50d27bq3942bd1b3b66d3ee@mail.gmail.com>
On Fri, Sep 26, 2008 at 02:28:50PM -0400, Leo Razoumov wrote:
Show 5 quoted lines
> So, depending on which of the commands above are used status "R" could
> mean either Renamed or Removed, "M" is either Modified or unMerged,
> "C" is either Copied or Changed.
> 
> Is it possible to make it consistent across related commands?

I think this is rooted in historical reasons. Unfortunately, I don't think it is possible to reconcile the two outputs at this point, as we would be breaking any scripts which use the tools.

Out of curiosity, is there a script you are writing or some workflow you have where you see the output of both? Or did you just notice this while exploring git?

I ask because there may be a way to alter your workflow to always use one tool.

-Peff
Previous: Leo RazoumovNext: Leo Razoumov
Message 2 of 4 in “status letters consistency in log and ls-files”
  1. Leo RazoumovSep 26, 2008
  2. Jeff KingSep 26, 2008
  3. Leo RazoumovSep 27, 2008
  4. Jeff KingSep 27, 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.