Skip to content

Commit 4a81bfa

Browse files
jmahgitster
authored andcommitted
Documentation: remove --prune from pack-refs examples
The option has been the default for a while, and doesn't otherwise appear in the page. Signed-off-by: Jonathon Mah <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent edca415 commit 4a81bfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-pack-refs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Subsequent updates to branches always create new files under
3333
`$GIT_DIR/refs` directory hierarchy.
3434

3535
A recommended practice to deal with a repository with too many
36-
refs is to pack its refs with `--all --prune` once, and
37-
occasionally run `git pack-refs --prune`. Tags are by
36+
refs is to pack its refs with `--all` once, and
37+
occasionally run `git pack-refs`. Tags are by
3838
definition stationary and are not expected to change. Branch
3939
heads will be packed with the initial `pack-refs --all`, but
4040
only the currently active branch heads will become unpacked,

0 commit comments

Comments
 (0)