Skip to content

Commit d011ab4

Browse files
committed
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)
2 parents 3bbbf18 + 187c00c commit d011ab4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Documentation/git-commit.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ OPTIONS
137137
-m <msg>::
138138
--message=<msg>::
139139
Use the given <msg> as the commit message.
140+
If multiple `-m` options are given, their values are
141+
concatenated as separate paragraphs.
140142

141143
-t <file>::
142144
--template=<file>::

Documentation/git-pull.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ $ git merge origin/next
218218
------------------------------------------------
219219

220220

221-
If you tried a pull which resulted in a complex conflicts and
221+
If you tried a pull which resulted in complex conflicts and
222222
would want to start over, you can recover with 'git reset'.
223223

224224

builtin/merge-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static void unresolved(const struct traverse_info *info, struct name_entry n[3])
245245
unsigned dirmask = 0, mask = 0;
246246

247247
for (i = 0; i < 3; i++) {
248-
mask |= (1 << 1);
248+
mask |= (1 << i);
249249
if (n[i].mode && S_ISDIR(n[i].mode))
250250
dirmask |= (1 << i);
251251
}

0 commit comments

Comments
 (0)