Skip to content

Commit c30f993

Browse files
spearcegitster
authored andcommitted
Clarify repack -n documentation
While repacking a local repository a coworker thought the -n option was necessary to git-repack to keep it from updating some unknown file on the central server we all share. Explaining further what the option is (not) doing helps to make it clear the option does not impact any remote repositories the user may have configured. Signed-off-by: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 008442f commit c30f993

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Documentation/git-repack.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@ OPTIONS
5555
linkgit:git-pack-objects[1].
5656

5757
-n::
58-
Do not update the server information with
59-
`git update-server-info`.
58+
Do not update the server information with
59+
`git update-server-info`. This option skips
60+
updating local catalog files needed to publish
61+
this repository (or a direct copy of it)
62+
over HTTP or FTP. See gitlink:git-update-server-info[1].
6063

6164
--window=[N], --depth=[N]::
6265
These two options affect how the objects contained in the pack are

0 commit comments

Comments
 (0)