Skip to contentSkip to conversation

Error message grammar

PATCH In review [email protected] 2 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Error message grammar

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.

Signature · 8 lines
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/
___________________________________________________________
Quoted 1 line

From 743d2eda72eb393bee41ac98a3994d110916b08a Mon Sep 17 00:00:00 2001

From: Aidan Delaney <[email protected]>
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(-)
builtin/commit.c +2 -2
index 355b2cb..d56ddeb 100644
@@ -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;
Signature · 1 line
1.7.4
#1 lore raw
Quoted 3 lines · [email protected] 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.

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/
#2 lore raw

Matthieu,

Quoted 4 lines · Matthieu Moy

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.

---
 builtin/commit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
builtin/commit.c +0 -0
index 355b2cb..d56ddeb 100644
@@ -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;

Signature · 5 lines
1.7.4


-- 
Aidan Delaney
#3 lore raw
Quoted 7 lines · [email protected] writes:

Matthieu,

Quoted 4 lines · Matthieu Moy

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

Quoted 1 line

Based on master f70f736bcbb22cfe434eaf20089d9713b991ee31

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

Quoted 3 lines

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

Just the Signed-off-by is sufficient.

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/