Skip to content

Commit

Permalink
Use 'half' instead of '½'
Browse files Browse the repository at this point in the history
  • Loading branch information
hedrok committed Feb 19, 2016
1 parent 504c661 commit 4d42b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/10-git-internals/sections/packfiles.asc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ The other files are your new packfile and an index.
The packfile is a single file containing the contents of all the objects that were removed from your filesystem.
The index is a file that contains offsets into that packfile so you can quickly seek to a specific object.
What is cool is that although the objects on disk before you ran the `gc` were collectively about 15K in size, the new packfile is only 7K.
You've cut your disk usage by ½ by packing your objects.
You've cut your disk usage by half by packing your objects.

How does Git do this?
When Git packs objects, it looks for files that are named and sized similarly, and stores just the deltas from one version of the file to the next.
Expand Down

0 comments on commit 4d42b2d

Please sign in to comment.