summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-27 10:51:10 -0700
committerJunio C Hamano <gitster@pobox.com>2013-03-27 10:51:10 -0700
commitd011ab4312a8ddabd143567fa9706b8e9fb9c0a4 (patch)
treea7167cc0ece6125ff59ba1fc6ae78119f863017d
parent3bbbf18d711eb8fe3390580963c1a071e03cbb38 (diff)
parent187c00c6c58ba8916a37011b56cb0cb8f2dd1805 (diff)
downloadgit-d011ab4312a8ddabd143567fa9706b8e9fb9c0a4.tar.gz
Merge branch 'maint-1.8.1' into maint
* maint-1.8.1: merge-tree: fix typo in merge-tree.c::unresolved git-commit doc: describe use of multiple `-m` options git-pull doc: fix grammo ("conflicts" is plural)
-rw-r--r--Documentation/git-commit.txt2
-rw-r--r--Documentation/git-pull.txt2
-rw-r--r--builtin/merge-tree.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 0eb79ccdba..42c22bb59d 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -137,6 +137,8 @@ OPTIONS
-m <msg>::
--message=<msg>::
Use the given <msg> as the commit message.
+ If multiple `-m` options are given, their values are
+ concatenated as separate paragraphs.
-t <file>::
--template=<file>::
diff --git a/Documentation/git-pull.txt b/Documentation/git-pull.txt
index c975743230..24ab07a3f8 100644
--- a/Documentation/git-pull.txt
+++ b/Documentation/git-pull.txt
@@ -218,7 +218,7 @@ $ git merge origin/next
------------------------------------------------
-If you tried a pull which resulted in a complex conflicts and
+If you tried a pull which resulted in complex conflicts and
would want to start over, you can recover with 'git reset'.
diff --git a/builtin/merge-tree.c b/builtin/merge-tree.c
index e0d0b7d28b..bc912e399e 100644
--- a/builtin/merge-tree.c
+++ b/builtin/merge-tree.c
@@ -245,7 +245,7 @@ static void unresolved(const struct traverse_info *info, struct name_entry n[3])
unsigned dirmask = 0, mask = 0;
for (i = 0; i < 3; i++) {
- mask |= (1 << 1);
+ mask |= (1 << i);
if (n[i].mode && S_ISDIR(n[i].mode))
dirmask |= (1 << i);
}