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

Re: [RFC/PATCH] shortstatus v1

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 10, 2009, 15:58 UTC
Message-ID
<7vwsbynv0o.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20090210110330.GB12089@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> Some comments:
>
>   1. Is the staggered indentation intentional? It looks awful, and the
>      only use I can think of is to separate unstaged from staged
>      changes. But surely there must be a more obvious way of doing so.
Probably not.
>   2. Why do staged changes get a letter marking what happened, but
>      unstaged changes do not?
Bug?   FWIW, the original patch from October shows:
    M changed
M   M changed-again
M     changed-staged
    D deleted
D     deleted-staged

(where changed-again has both staged changes and further changes in the work tree).

The gap between these two are to show the rename similarity index, which we could do without.

Show 13 quoted lines
>   3. What advantage does this have over just doing:
>
>        (git diff --name-status;
>         git diff --cached --name-status) | sort -k2
>
>> Right now this is basically Junio's shortstatus
>> from Oct 25th 2008 with no substantial change
>> except a line or two.
>
> This is not a very helpful commit message. What is it supposed to do?
> What does the output look like? Why is it implemented this way? If Junio
> sent a patch in October and it isn't substantially changed, why wasn't
> it accepted then?
The output mimicked what was in Shawn's "repo" tool announcement IIRC.

My patch was supposed to give interested parties hint to base a patch like Tuncer's on (I think this answers your last question, too).

Previous: Jeff KingNext: Jeff King
Message 13 of 25 in “shortstatus v1”
  1. shortstatus v1Tuncer Ayaz, Feb 10, 2009
  2. Junio C HamanoFeb 10, 2009
  3. Sitaram ChamartyFeb 10, 2009
  4. Spending time in PS1, was Re: [RFC/PATCH] shortstatus v1Johannes Schindelin, Feb 10, 2009
  5. Sitaram ChamartyFeb 10, 2009
  6. Tuncer AyazFeb 10, 2009
  7. Jeff KingFeb 10, 2009
  8. Michael J GruberFeb 10, 2009
  9. Tuncer AyazFeb 10, 2009
  10. Jeff KingFeb 10, 2009
  11. Michael J GruberFeb 10, 2009
  12. Jeff KingFeb 10, 2009
  13. Junio C HamanoFeb 10, 2009
  14. Jeff KingFeb 10, 2009
  15. Jeff KingFeb 10, 2009
  16. Jeff KingFeb 10, 2009
  17. Tuncer AyazFeb 10, 2009
  18. Jeff KingFeb 10, 2009
  19. Junio C HamanoFeb 10, 2009
  20. Tuncer AyazFeb 10, 2009
  21. Jeff KingFeb 10, 2009
  22. Junio C HamanoFeb 10, 2009
  23. Jeff KingFeb 12, 2009
  24. Nanako ShiraishiFeb 10, 2009
  25. Junio C HamanoFeb 11, 2009

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.