git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch] Error message grammar
@ 2011-03-02 21:37 A.J.Delaney
  2011-03-02 22:03 ` Matthieu Moy
  0 siblings, 1 reply; 4+ messages in thread
From: A.J.Delaney @ 2011-03-02 21:37 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

Dear all,
	I got an error message from git and the grammar tweaked me (maybe it's
just the mood I'm in).  I'm not subscribed to the list.

-- 
Aidan


___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________

[-- Attachment #2: 0001-Fixed-grammar-on-two-error-messages.patch --]
[-- Type: text/x-patch, Size: 932 bytes --]

>From 743d2eda72eb393bee41ac98a3994d110916b08a Mon Sep 17 00:00:00 2001
From: Aidan Delaney <aidan@phoric.eu>
Date: Wed, 2 Mar 2011 21:30:36 +0000
Subject: [PATCH] Fixed grammar on two error messages.

---
 builtin/commit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/builtin/commit.c b/builtin/commit.c
index 355b2cb..d56ddeb 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -991,9 +991,9 @@ static int parse_and_validate_options(int argc, const char *argv[],
 	handle_untracked_files_arg(s);
 
 	if (all && argc > 0)
-		die("Paths with -a does not make sense.");
+		die("Using paths with -a does not make sense.");
 	else if (interactive && argc > 0)
-		die("Paths with --interactive does not make sense.");
+		die("Using paths with --interactive does not make sense.");
 
 	if (null_termination && status_format == STATUS_FORMAT_LONG)
 		status_format = STATUS_FORMAT_PORCELAIN;
-- 
1.7.4


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

* Re: [Patch] Error message grammar
  2011-03-02 21:37 [Patch] Error message grammar A.J.Delaney
@ 2011-03-02 22:03 ` Matthieu Moy
  2011-03-06 15:21   ` A.J.Delaney
  0 siblings, 1 reply; 4+ messages in thread
From: Matthieu Moy @ 2011-03-02 22:03 UTC (permalink / raw)
  To: A.J.Delaney; +Cc: git

A.J.Delaney@brighton.ac.uk writes:

> Dear all,
> 	I got an error message from git and the grammar tweaked me (maybe it's
> just the mood I'm in).  I'm not subscribed to the list.

Please, read
http://repo.or.cz/w/git.git/blob_plain?f=Documentation/SubmittingPatches
in particular the Signed-off-by part and the "don't attach patches"
one. Otherwise, your contribution cannot be included in Git.

Other than that, the patch looks good.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

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

* Re: [Patch] Error message grammar
  2011-03-02 22:03 ` Matthieu Moy
@ 2011-03-06 15:21   ` A.J.Delaney
  2011-03-06 17:38     ` Matthieu Moy
  0 siblings, 1 reply; 4+ messages in thread
From: A.J.Delaney @ 2011-03-06 15:21 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]

Matthieu,
On Wed, 2011-03-02 at 23:03 +0100, Matthieu Moy wrote:
> Please, read
> http://repo.or.cz/w/git.git/blob_plain?f=Documentation/SubmittingPatches
> in particular the Signed-off-by part and the "don't attach patches"
> one.
Thanks for the pointer.

Based on master f70f736bcbb22cfe434eaf20089d9713b991ee31

Trivial changes to grammar on some error messages reported by
git-commit.

I certify conformance to Developer's Certificate of Origin 1.1.

Signed-off-by: Aidan Delaney <a.j.delaney@brighton.ac.uk>
---
 builtin/commit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/builtin/commit.c b/builtin/commit.c
index 355b2cb..d56ddeb 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -991,9 +991,9 @@ static int parse_and_validate_options(int argc,
const char *argv[],
 	handle_untracked_files_arg(s);
 
 	if (all && argc > 0)
-		die("Paths with -a does not make sense.");
+		die("Using paths with -a does not make sense.");
 	else if (interactive && argc > 0)
-		die("Paths with --interactive does not make sense.");
+		die("Using paths with --interactive does not make sense.");
 
 	if (null_termination && status_format == STATUS_FORMAT_LONG)
 		status_format = STATUS_FORMAT_PORCELAIN;
-- 
1.7.4


-- 
Aidan Delaney

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [Patch] Error message grammar
  2011-03-06 15:21   ` A.J.Delaney
@ 2011-03-06 17:38     ` Matthieu Moy
  0 siblings, 0 replies; 4+ messages in thread
From: Matthieu Moy @ 2011-03-06 17:38 UTC (permalink / raw)
  To: A.J.Delaney; +Cc: git

A.J.Delaney@brighton.ac.uk writes:

> Matthieu,
> On Wed, 2011-03-02 at 23:03 +0100, Matthieu Moy wrote:
>> Please, read
>> http://repo.or.cz/w/git.git/blob_plain?f=Documentation/SubmittingPatches
>> in particular the Signed-off-by part and the "don't attach patches"
>> one.
> Thanks for the pointer.

Now, you should read the part about what goes before and after the ---
in the message ;-).

The body of the email (before ---) will become the commit message, you
want it clean and self-contained. Discussions should go after the ---.
If you don't follow this, our maintainer will have to fix it
manually...

> Based on master f70f736bcbb22cfe434eaf20089d9713b991ee31

This is not needed, and if you add it, put it after ---.

> I certify conformance to Developer's Certificate of Origin 1.1.
>
> Signed-off-by: Aidan Delaney <a.j.delaney@brighton.ac.uk>

Just the Signed-off-by is sufficient.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

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

end of thread, other threads:[~2011-03-06 17:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02 21:37 [Patch] Error message grammar A.J.Delaney
2011-03-02 22:03 ` Matthieu Moy
2011-03-06 15:21   ` A.J.Delaney
2011-03-06 17:38     ` Matthieu Moy

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