Re: [Patch] Error message grammar
- From
- a.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