[Kde-scm-interest] Data files and the Git move
Nicolas Alvarez
nicolas.alvarez at gmail.com
Sat Oct 8 04:06:32 UTC 2011
Johannes Sixt wrote:
> Am 9/4/2011 14:11, schrieb Stefan Majewsky:
>> $ find -type f -regextype posix-egrep -regex
>> '.*\.(xml|wav|ogg|svg|svgz|jpg|png)' | xargs du -hsc | grep total
>> 86M total
>
> It probably doesn't help a lot in terms of space consumptions, but IMO
> *.svgz should not be put into the repository, but only their uncompressed
> .svg counterparts. They can be compressed to .svgz at installation time.
Putting uncompressed .svg files in a git repository would make it *smaller*,
since then git can do small and proper deltas between the files. With
compressed files that's not possible, the delta between two .svgz would be
pretty large (git would probably decide it's not worth it and store the new
.svgz file as a whole).
--
Nicolas
More information about the Kde-scm-interest
mailing list