Re: [PATCH 1/5] status: document the -v/--verbose option
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Apr 24, 2015, 16:46 UTC
- Message-ID
- <553A7379.6030408@alum.mit.edu>
- In-Reply-To
- <CAM=ud8zLDTYUp12BsVjWH5=8rg=HxbtdBxL2L9x=3+FQVJBqrQ@mail.gmail.com>
On 04/24/2015 02:27 AM, Pete Harlan wrote:
Show 25 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`?
Yes, you're right. Thanks for catching this, Pete. The shorter the patch, the higher the error density :-(
Michael
-- Michael Haggerty mhagger@alum.mit.edu