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

Re: [PATCH 1/5] status: document the -v/--verbose option

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 24, 2015, 01:44 UTC
Message-ID
<xmqq4mo62tb9.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CAM=ud8zLDTYUp12BsVjWH5=8rg=HxbtdBxL2L9x=3+FQVJBqrQ@mail.gmail.com>
Pete Harlan <pchpublic88@gmail.com> writes:
Show 29 quoted lines
> Junio writes:
>> Michael Haggerty <mhagger@alum.mit.edu> writes:
>>
>> > Document `git status -v`, including its new doubled `-vv` form.
>> >
>> > Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
>> >---
>>
>> Will queue on mg/status-v-v series, which did add description for
>> "commit -v", but "status -v" did not have the description to begin
>> with and we missed it.
> [...]
>> > +-v::
>> > +--verbose::
>> > + In addition to the names of files that have been changed, also
>> > + show the textual changes that are staged to be committed
>> > + (i.e., like the output of `git diff`). If `-v` is specified
>
> Should this be `git diff --cached`?
>
>> > + twice, then also show the changes in the working tree that
>> > + have not yet been staged (i.e., like the output of `git diff
>> > + --cached`).
>
> ...and should this just be `git diff`?
>
> --Pete
>
> (Sorry for not replying to the email; bit of a mess here in my setup.)
Duh!

I see "git commit" documentation does not have these extra "like the output of..." bits. Perhaps we can do without it for the sake of both brevity and risk avoidance?

Will push out with --cached bit swapped for tonight on 'pu'.
Previous: Pete HarlanNext: Michael Haggerty
Message 2 of 3 in “Re: [PATCH 1/5] status: document the -v/--verbose option”
  1. Pete HarlanApr 24, 2015
  2. Junio C HamanoApr 24, 2015
  3. Michael HaggertyApr 24, 2015

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.