summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0fb7fc7)
raw | patch | inline | side by side (parent: 0fb7fc7)
author | Gerrit Pape <pape@smarden.org> | |
Fri, 22 Feb 2008 08:55:29 +0000 (08:55 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 22 Feb 2008 15:02:40 +0000 (07:02 -0800) |
The options following <merge-program> are not -a, --, or <file>...,
but either -a, or -- <file>..., while -- is optional.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
but either -a, or -- <file>..., while -- is optional.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-merge-index.txt | patch | blob | history | |
merge-index.c | patch | blob | history |
index 5d816d0d8b02222517cd4bf320dc3d345fb8d94b..19ee017aede4bf8fa0a0046b2bf347e3d75c4a12 100644 (file)
SYNOPSIS
--------
-'git-merge-index' [-o] [-q] <merge-program> (-a | \-- | <file>\*)
+'git-merge-index' [-o] [-q] <merge-program> (-a | [--] <file>\*)
DESCRIPTION
-----------
diff --git a/merge-index.c b/merge-index.c
index bbb700b54eab2a14f60e090231a196874ff3a9e0..7491c56ad25332fb4aae6a075bf0577a1d800c3b 100644 (file)
--- a/merge-index.c
+++ b/merge-index.c
signal(SIGCHLD, SIG_DFL);
if (argc < 3)
- usage("git-merge-index [-o] [-q] <merge-program> (-a | <filename>*)");
+ usage("git-merge-index [-o] [-q] <merge-program> (-a | [--] <filename>*)");
setup_git_directory();
read_cache();