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

2015-04-24 Thread Michael Haggerty
On 04/24/2015 02:27 AM, Pete Harlan wrote:
 Junio writes:
 Michael Haggerty mhag...@alum.mit.edu writes:

 Document `git status -v`, including its new doubled `-vv` form.

 Signed-off-by: Michael Haggerty mhag...@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
mhag...@alum.mit.edu

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2015-04-23 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes:

 Document `git status -v`, including its new doubled `-vv` form.

 Signed-off-by: Michael Haggerty mhag...@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.

Thanks.

  Documentation/git-status.txt | 9 +
  1 file changed, 9 insertions(+)

 diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
 index b3319f7..9ec5897 100644
 --- a/Documentation/git-status.txt
 +++ b/Documentation/git-status.txt
 @@ -41,6 +41,15 @@ OPTIONS
  --long::
   Give the output in the long-format. This is the default.
  
 +-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
 + 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`).
 +
  -u[mode]::
  --untracked-files[=mode]::
   Show untracked files.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2015-04-23 Thread Pete Harlan
Junio writes:
 Michael Haggerty mhag...@alum.mit.edu writes:

  Document `git status -v`, including its new doubled `-vv` form.
 
  Signed-off-by: Michael Haggerty mhag...@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.)
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2015-04-23 Thread Junio C Hamano
Pete Harlan pchpubli...@gmail.com writes:

 Junio writes:
 Michael Haggerty mhag...@alum.mit.edu writes:

  Document `git status -v`, including its new doubled `-vv` form.
 
  Signed-off-by: Michael Haggerty mhag...@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'.

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html