Re: [PATCH 1/5] status: document the -v/--verbose option
From: Junio C Hamano <hidden>
Date: 2016-06-15 23:04:31
Pete Harlan [off-list ref] writes:
Junio writes:quoted
Michael Haggerty [off-list ref] writes:quoted
Document `git status -v`, including its new doubled `-vv` form. Signed-off-by: Michael Haggerty <redacted> ---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.[...]quoted
quoted
+-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 specifiedShould this be `git diff --cached`?quoted
quoted
+ 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'.