Skip to content

Commit de5f2bf

Browse files
matthiaskJunio C Hamano
authored andcommitted
fix various typos in documentation
Signed-off-by: Matthias Kestenholz <matthias@spinlock.ch> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent e923eff commit de5f2bf

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Documentation/git-diff-tree.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ separated with a single space are given.
9292
Furthermore, it lists only files which were modified
9393
from all parents.
9494

95-
-cc::
95+
--cc::
9696
This flag changes the way a merge commit patch is displayed,
9797
in a similar way to the '-c' option. It implies the '-c'
9898
and '-p' options and further compresses the patch output

Documentation/git-update-index.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ SYNOPSIS
1010
--------
1111
[verse]
1212
'git-update-index'
13-
[--add] [--remove | --force-remove] [--replace]
14-
[--refresh [-q] [--unmerged] [--ignore-missing]]
13+
[--add] [--remove | --force-remove] [--replace]
14+
[--refresh] [-q] [--unmerged] [--ignore-missing]
1515
[--cacheinfo <mode> <object> <file>]\*
1616
[--chmod=(+|-)x]
1717
[--assume-unchanged | --no-assume-unchanged]

revision.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
537537
revs->max_count = atoi(arg + 12);
538538
continue;
539539
}
540-
/* accept -<digit>, like traditilnal "head" */
540+
/* accept -<digit>, like traditional "head" */
541541
if ((*arg == '-') && isdigit(arg[1])) {
542542
revs->max_count = atoi(arg + 1);
543543
continue;

0 commit comments

Comments
 (0)