git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Patch] Error message grammar

From
Aa.j.delaney@brighton.ac.uk <a.j.delaney@brighton.ac.uk>
Date
Mar 6, 2011, 15:21 UTC
Message-ID
<1299424888.4990.13.camel@SillyFace>
In-Reply-To
<vpqd3m9yycf.fsf@bauges.imag.fr>

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
Previous: Matthieu MoyNext: Matthieu Moy
Message 3 of 4 in “Error message grammar”
  1. Error message grammara.j.delaney@brighton.ac.uk, Mar 2, 2011
  2. Matthieu MoyMar 2, 2011
  3. a.j.delaney@brighton.ac.ukMar 6, 2011
  4. Matthieu MoyMar 6, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.