git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Sync "git diff -h" with the manual, show options summary.
@ 2010-10-01  7:32 Yann Dirson
  0 siblings, 0 replies; 7+ messages in thread
From: Yann Dirson @ 2010-10-01  7:32 UTC (permalink / raw)
  To: git; +Cc: Yann Dirson

Signed-off-by: Yann Dirson <ydirson@altern.org>
---
 builtin/diff.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/builtin/diff.c b/builtin/diff.c
index a43d326..8736225 100644
--- a/builtin/diff.c
+++ b/builtin/diff.c
@@ -22,7 +22,8 @@ struct blobinfo {
 };
 
 static const char builtin_diff_usage[] =
-"git diff <options> <rev>{0,2} -- <path>*";
+"git diff [<common diff options>] <commit>{0,2} -- <path>*"
+COMMON_DIFF_OPTIONS_HELP;
 
 static void stuff_change(struct diff_options *opt,
 			 unsigned old_mode, unsigned new_mode,
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] Sync "git diff -h" with the manual, show options summary.
@ 2010-10-23 13:33 Yann Dirson
  2010-10-23 14:07 ` Yann Dirson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yann Dirson @ 2010-10-23 13:33 UTC (permalink / raw)
  To: git; +Cc: Yann Dirson

Signed-off-by: Yann Dirson <ydirson@altern.org>
---
 builtin/diff.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/builtin/diff.c b/builtin/diff.c
index a43d326..8736225 100644
--- a/builtin/diff.c
+++ b/builtin/diff.c
@@ -22,7 +22,8 @@ struct blobinfo {
 };
 
 static const char builtin_diff_usage[] =
-"git diff <options> <rev>{0,2} -- <path>*";
+"git diff [<common diff options>] <commit>{0,2} -- <path>*"
+COMMON_DIFF_OPTIONS_HELP;
 
 static void stuff_change(struct diff_options *opt,
 			 unsigned old_mode, unsigned new_mode,
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-24 15:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01  7:32 [PATCH] Sync "git diff -h" with the manual, show options summary Yann Dirson
  -- strict thread matches above, loose matches on Subject: below --
2010-10-23 13:33 Yann Dirson
2010-10-23 14:07 ` Yann Dirson
2010-10-23 18:02 ` Thiago Farina
2010-10-23 18:04   ` Matthieu Moy
2010-10-23 18:44     ` Yann Dirson
2010-10-24 15:15 ` Štěpán Němec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).