git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] standardize usage strings that were missed the first time
@ 2015-04-02 21:26 Alex Henrie
  2015-04-02 21:56 ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Henrie @ 2015-04-02 21:26 UTC (permalink / raw)
  To: gitster, pclouds, artagnon, git; +Cc: Alex Henrie

This is a follow-up to commit 9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/blame.c | 2 +-
 builtin/log.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/builtin/blame.c b/builtin/blame.c
index 06484c2..0b2f4ed 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -27,7 +27,7 @@
 #include "line-range.h"
 #include "line-log.h"
 
-static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] file");
+static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");
 
 static const char *blame_opt_usage[] = {
 	blame_usage,
diff --git a/builtin/log.c b/builtin/log.c
index dd8f3fc..4c4e6be 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -38,7 +38,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
 static const char *fmt_pretty;
 
 static const char * const builtin_log_usage[] = {
-	N_("git log [<options>] [<revision range>] [[--] <path>...]"),
+	N_("git log [<options>] [<revision-range>] [[--] <path>...]"),
 	N_("git show [<options>] <object>..."),
 	NULL
 };
-- 
2.3.5

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

* Re: [PATCH] standardize usage strings that were missed the first time
  2015-04-02 21:26 [PATCH] standardize usage strings that were missed the first time Alex Henrie
@ 2015-04-02 21:56 ` Junio C Hamano
  2015-04-03 22:47   ` Alex Henrie
  0 siblings, 1 reply; 9+ messages in thread
From: Junio C Hamano @ 2015-04-02 21:56 UTC (permalink / raw)
  To: Alex Henrie; +Cc: pclouds, artagnon, git

Alex Henrie <alexhenrie24@gmail.com> writes:

> This is a follow-up to commit 9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.
>
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---

Thanks, but please no more _("string") changes for the rest of the
cycle, as that would impact i18n folks who will be starting from
tagged -rc releases.

Please hold them off, and resend them after 2.4.0 final.

Thanks.

>  builtin/blame.c | 2 +-
>  builtin/log.c   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/builtin/blame.c b/builtin/blame.c
> index 06484c2..0b2f4ed 100644
> --- a/builtin/blame.c
> +++ b/builtin/blame.c
> @@ -27,7 +27,7 @@
>  #include "line-range.h"
>  #include "line-log.h"
>  
> -static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] file");
> +static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");
>  
>  static const char *blame_opt_usage[] = {
>  	blame_usage,
> diff --git a/builtin/log.c b/builtin/log.c
> index dd8f3fc..4c4e6be 100644
> --- a/builtin/log.c
> +++ b/builtin/log.c
> @@ -38,7 +38,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
>  static const char *fmt_pretty;
>  
>  static const char * const builtin_log_usage[] = {
> -	N_("git log [<options>] [<revision range>] [[--] <path>...]"),
> +	N_("git log [<options>] [<revision-range>] [[--] <path>...]"),
>  	N_("git show [<options>] <object>..."),
>  	NULL
>  };

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

* Re: [PATCH] standardize usage strings that were missed the first time
  2015-04-02 21:56 ` Junio C Hamano
@ 2015-04-03 22:47   ` Alex Henrie
  2015-04-03 23:48     ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Henrie @ 2015-04-03 22:47 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: pclouds, Ramkumar Ramachandra, Git mailing list

2015-04-02 15:56 GMT-06:00 Junio C Hamano <gitster@pobox.com>:
> Thanks, but please no more _("string") changes for the rest of the
> cycle, as that would impact i18n folks who will be starting from
> tagged -rc releases.
>
> Please hold them off, and resend them after 2.4.0 final.

I thought that during a code freeze, you held onto patches or
committed them to a staging branch. But it's OK, I will resend after
2.4 final is released. Thanks for the clarification.

-Alex

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

* Re: [PATCH] standardize usage strings that were missed the first time
  2015-04-03 22:47   ` Alex Henrie
@ 2015-04-03 23:48     ` Junio C Hamano
  0 siblings, 0 replies; 9+ messages in thread
From: Junio C Hamano @ 2015-04-03 23:48 UTC (permalink / raw)
  To: Alex Henrie; +Cc: Nguyen Thai Ngoc Duy, Ramkumar Ramachandra, Git mailing list

On Fri, Apr 3, 2015 at 3:47 PM, Alex Henrie <alexhenrie24@gmail.com> wrote:
> 2015-04-02 15:56 GMT-06:00 Junio C Hamano <gitster@pobox.com>:
>> Thanks, but please no more _("string") changes for the rest of the
>> cycle, as that would impact i18n folks who will be starting from
>> tagged -rc releases.
>>
>> Please hold them off, and resend them after 2.4.0 final.
>
> I thought that during a code freeze, you held onto patches or
> committed them to a staging branch.

Yes, but that is done as time-permits basis, and it is much more
efficient to spread the load of remembering the topics that are
needed in future ;-)

Thanks.

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

* [PATCH] standardize usage strings that were missed the first time
@ 2015-05-02  3:12 Alex Henrie
  2015-05-03 17:18 ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Henrie @ 2015-05-02  3:12 UTC (permalink / raw)
  To: gitster, pclouds, artagnon, git; +Cc: Alex Henrie

This is a follow-up to commit 9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/blame.c | 2 +-
 builtin/log.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/builtin/blame.c b/builtin/blame.c
index 06484c2..0b2f4ed 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -27,7 +27,7 @@
 #include "line-range.h"
 #include "line-log.h"
 
-static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] file");
+static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");
 
 static const char *blame_opt_usage[] = {
 	blame_usage,
diff --git a/builtin/log.c b/builtin/log.c
index dd8f3fc..4c4e6be 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -38,7 +38,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
 static const char *fmt_pretty;
 
 static const char * const builtin_log_usage[] = {
-	N_("git log [<options>] [<revision range>] [[--] <path>...]"),
+	N_("git log [<options>] [<revision-range>] [[--] <path>...]"),
 	N_("git show [<options>] <object>..."),
 	NULL
 };
-- 
2.3.7

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

* Re: [PATCH] standardize usage strings that were missed the first time
  2015-05-02  3:12 Alex Henrie
@ 2015-05-03 17:18 ` Junio C Hamano
  2015-05-03 23:59   ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Junio C Hamano @ 2015-05-03 17:18 UTC (permalink / raw)
  To: Alex Henrie; +Cc: pclouds, artagnon, git

Alex Henrie <alexhenrie24@gmail.com> writes:

> This is a follow-up to commit 9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.

Please do not force the reader to type "git show 9c9b4f2".

>
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  builtin/blame.c | 2 +-
>  builtin/log.c   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/builtin/blame.c b/builtin/blame.c
> index 06484c2..0b2f4ed 100644
> --- a/builtin/blame.c
> +++ b/builtin/blame.c
> @@ -27,7 +27,7 @@
>  #include "line-range.h"
>  #include "line-log.h"
>  
> -static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] file");
> +static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");
>  
>  static const char *blame_opt_usage[] = {
>  	blame_usage,
> diff --git a/builtin/log.c b/builtin/log.c
> index dd8f3fc..4c4e6be 100644
> --- a/builtin/log.c
> +++ b/builtin/log.c
> @@ -38,7 +38,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
>  static const char *fmt_pretty;
>  
>  static const char * const builtin_log_usage[] = {
> -	N_("git log [<options>] [<revision range>] [[--] <path>...]"),
> +	N_("git log [<options>] [<revision-range>] [[--] <path>...]"),
>  	N_("git show [<options>] <object>..."),
>  	NULL
>  };

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

* Re: [PATCH] standardize usage strings that were missed the first time
  2015-05-03 17:18 ` Junio C Hamano
@ 2015-05-03 23:59   ` Junio C Hamano
  2015-05-04 17:49     ` Alex Henrie
  0 siblings, 1 reply; 9+ messages in thread
From: Junio C Hamano @ 2015-05-03 23:59 UTC (permalink / raw)
  To: Alex Henrie; +Cc: pclouds, artagnon, git

Junio C Hamano <gitster@pobox.com> writes:

> Alex Henrie <alexhenrie24@gmail.com> writes:
>
>> This is a follow-up to commit 9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.
>
> Please do not force the reader to type "git show 9c9b4f2".

Here is my attempt.

commit ce41720cad79d858f09ebfc88cf84a4b152645c7
Author: Alex Henrie <alexhenrie24@gmail.com>
Date:   Thu Apr 2 15:26:56 2015 -0600

    blame, log: format usage strings similarly to those in documentation
    
    Earlier, 9c9b4f2f (standardize usage info string format, 2015-01-13)
    tried to make usage-string in line with the documentation by
    
        - Placing angle brackets around fill-in-the-blank parameters
        - Putting dashes in multiword parameter names
        - Adding spaces to [-f|--foobar] to make [-f | --foobar]
        - Replacing <foobar>* with [<foobar>...]
    
    but it missed a few places.
    
    Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>

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

* Re: [PATCH] standardize usage strings that were missed the first time
  2015-05-03 23:59   ` Junio C Hamano
@ 2015-05-04 17:49     ` Alex Henrie
  2015-05-04 19:23       ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Henrie @ 2015-05-04 17:49 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: pclouds, Ramkumar Ramachandra, Git mailing list

2015-05-03 17:59 GMT-06:00 Junio C Hamano <gitster@pobox.com>:
> Here is my attempt.
>
> commit ce41720cad79d858f09ebfc88cf84a4b152645c7
> Author: Alex Henrie <alexhenrie24@gmail.com>
> Date:   Thu Apr 2 15:26:56 2015 -0600
>
>     blame, log: format usage strings similarly to those in documentation
>
>     Earlier, 9c9b4f2f (standardize usage info string format, 2015-01-13)
>     tried to make usage-string in line with the documentation by
>
>         - Placing angle brackets around fill-in-the-blank parameters
>         - Putting dashes in multiword parameter names
>         - Adding spaces to [-f|--foobar] to make [-f | --foobar]
>         - Replacing <foobar>* with [<foobar>...]
>
>     but it missed a few places.
>
>     Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
>     Signed-off-by: Junio C Hamano <gitster@pobox.com>

Looks great, thank you.

-Alex

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

* Re: [PATCH] standardize usage strings that were missed the first time
  2015-05-04 17:49     ` Alex Henrie
@ 2015-05-04 19:23       ` Junio C Hamano
  0 siblings, 0 replies; 9+ messages in thread
From: Junio C Hamano @ 2015-05-04 19:23 UTC (permalink / raw)
  To: Alex Henrie; +Cc: pclouds, Ramkumar Ramachandra, Git mailing list

Alex Henrie <alexhenrie24@gmail.com> writes:

> 2015-05-03 17:59 GMT-06:00 Junio C Hamano <gitster@pobox.com>:
>> Here is my attempt.
>> ...
>
> Looks great, thank you.
>
> -Alex

Thanks.

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

end of thread, other threads:[~2015-05-04 19:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 21:26 [PATCH] standardize usage strings that were missed the first time Alex Henrie
2015-04-02 21:56 ` Junio C Hamano
2015-04-03 22:47   ` Alex Henrie
2015-04-03 23:48     ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2015-05-02  3:12 Alex Henrie
2015-05-03 17:18 ` Junio C Hamano
2015-05-03 23:59   ` Junio C Hamano
2015-05-04 17:49     ` Alex Henrie
2015-05-04 19:23       ` Junio C Hamano

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).