Skip to content

Commit 6b276e1

Browse files
jaaltogitster
authored andcommitted
Documentation/fetch-options.txt: order options alphabetically
git-fetch.{1,html} will be helped with this patch Signed-off-by: Jari Aalto <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 78d553b commit 6b276e1

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

Documentation/fetch-options.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
ifndef::git-pull[]
2-
-q::
3-
--quiet::
4-
Pass --quiet to git-fetch-pack and silence any other internally
5-
used git commands.
6-
7-
-v::
8-
--verbose::
9-
Be verbose.
10-
endif::git-pull[]
11-
121
-a::
132
--append::
143
Append ref names and object names of fetched refs to the
154
existing contents of `.git/FETCH_HEAD`. Without this
165
option old data in `.git/FETCH_HEAD` will be overwritten.
176

18-
--upload-pack <upload-pack>::
19-
When given, and the repository to fetch from is handled
20-
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
21-
the command to specify non-default path for the command
22-
run on the other end.
7+
--depth=<depth>::
8+
Deepen the history of a 'shallow' repository created by
9+
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
10+
by the specified number of commits.
2311

2412
-f::
2513
--force::
@@ -29,6 +17,10 @@ endif::git-pull[]
2917
fetches is a descendant of `<lbranch>`. This option
3018
overrides that check.
3119

20+
-k::
21+
--keep::
22+
Keep downloaded pack.
23+
3224
ifdef::git-pull[]
3325
--no-tags::
3426
endif::git-pull[]
@@ -49,10 +41,6 @@ endif::git-pull[]
4941
flag lets all tags and their associated objects be
5042
downloaded.
5143

52-
-k::
53-
--keep::
54-
Keep downloaded pack.
55-
5644
-u::
5745
--update-head-ok::
5846
By default 'git-fetch' refuses to update the head which
@@ -62,7 +50,19 @@ endif::git-pull[]
6250
implementing your own Porcelain you are not supposed to
6351
use it.
6452

65-
--depth=<depth>::
66-
Deepen the history of a 'shallow' repository created by
67-
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
68-
by the specified number of commits.
53+
--upload-pack <upload-pack>::
54+
When given, and the repository to fetch from is handled
55+
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
56+
the command to specify non-default path for the command
57+
run on the other end.
58+
59+
ifndef::git-pull[]
60+
-q::
61+
--quiet::
62+
Pass --quiet to git-fetch-pack and silence any other internally
63+
used git commands.
64+
65+
-v::
66+
--verbose::
67+
Be verbose.
68+
endif::git-pull[]

0 commit comments

Comments
 (0)