Skip to content

Commit

Permalink
Use current output for "git repack"
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Thomas Ackermann authored and Junio C Hamano committed Aug 27, 2013
1 parent 95f9be5 commit 3e65ac4
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3203,17 +3203,15 @@ To put the loose objects into a pack, just run git repack:

------------------------------------------------
$ git repack
Generating pack...
Done counting 6020 objects.
Deltifying 6020 objects.
100% (6020/6020) done
Writing 6020 objects.
100% (6020/6020) done
Total 6020, written 6020 (delta 4070), reused 0 (delta 0)
Pack pack-3e54ad29d5b2e05838c75df582c65257b8d08e1c created.
Counting objects: 6020, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6020/6020), done.
Writing objects: 100% (6020/6020), done.
Total 6020 (delta 4070), reused 0 (delta 0)
------------------------------------------------

You can then run
This creates a single "pack file" in .git/objects/pack/
containing all currently unpacked objects. You can then run

------------------------------------------------
$ git prune
Expand Down

0 comments on commit 3e65ac4

Please sign in to comment.