@matheusbsbs / matheus-bagliano / commits / c30f9936b0
Fork 0

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 <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Shawn O. Pearce committed May 22, 2008 at 08:47 UTC c30f9936b0e5cdced3d9cb859ce0d325ebe9c91d
1 file changed +5 -2
Documentation/git-repack.txt
+5 -2
@@ -55,8 +55,11 @@ OPTIONS
55 linkgit:git-pack-objects[1].
56
57 -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].
63
64 --window=[N], --depth=[N]::
65 These two options affect how the objects contained in the pack are