[Ffmpeg-devel] Re: Advocating periodic releases

Panagiotis Issaris takis.issaris
Fri Oct 6 17:19:10 CEST 2006


Hi,

On Fri, Oct 06, 2006 at 04:55:34PM +0200, Reimar D?ffinger wrote:
> Hello,
> On Fri, Oct 06, 2006 at 04:19:17PM +0200, Panagiotis Issaris wrote:
> > One of the nice things is that the entire source code of the FFmpeg project, with
> > every revision of every file included, fits into 9MiB using GIT. And you always
> 
> How did you do that? I canceled the SVN import for MPlayer after ca. 500
> MB because my HD was full...
When you first import it, AFAIK there are no delta's calculated. The
"compression" (delta calculation) occurs off-line, for performance reasons.

If you go into your repository, and issue the following command, the
entire FFmpeg history will be repacked into a 15 MiB packfile (or 12, or 19
can't recall):
git-repack -a -d -f

But, as you can also specify that you want GIT to search further in history
to find smaller and other deltas with other files:
git-repack -a -d -f --depth=50 --window=50

Then, your repository (with full history) will only be 9 MiB.

If you clone me repository, you can try it for yourself :)

With friendly regards,
Takis




More information about the ffmpeg-devel mailing list