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

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