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

Re: Fwd: git status options feature suggestion

From
LRLeo Razoumov <slonik.az@gmail.com>
Date
Oct 12, 2008, 10:09 UTC
Message-ID
<ee2a733e0810120309o1fbfa4dxe6f2292a28bd6db3@mail.gmail.com>
On 10/12/08, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> [..snip..]
> I was going to suggest the same.  "git st" for people who come from "svn st"
>  so that "git status" can be kept as traditional "preview of 'git commit'".
>
>  And just make it mimic whatever folks accustomed to "svn st" would expect,
>  modulo we would need two status letters to signal difference between
>  (HEAD, index), and (index, worktree).  Perhaps three if you want to show
>  difference between (HEAD, worktree) while at it.
>
>  And no, I have not seen any argument good enough to change ls-files nor
>  diff-$lowlevel output and break people's existing scripts.
>
Please, at least introduce a new option (--status-letters)  that makes

git log --name-status git diff --name-status git ls-files -v

to use consistent letters to indicate the status. For details, see recent discussion http://www.spinics.net/lists/git/msg81141.html

Thanks, --Leo--

Next: Fyn Fynn
Message 1 of 2 in “Re: Fwd: git status options feature suggestion”
  1. Leo RazoumovOct 12, 2008
  2. Fyn FynnOct 18, 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.