And what's wrong with bringing in the entire change history? The compression in git is amazing and if you push upstream frequently, your updates are small.
A
single revision for a modest console game's source assets repository (
which ends up on a DVD-sized disk after compilation) could be hundreds of gigabytes. The entire change history could be several dozen terabytes.
If you've got 50 people on the project, it's obviously cheaper to have a central storage server with several terabytes available, rather than to require every developer to have a several-terrabyte RAID setup themselves. Plus when a new developer joins the project, you don't want be doing a several terabyte download via [font=courier new,courier,monospace]git://[/font] etc.
At these large scales, DVCS for binary assets simply falls apart,
so far. I really do hope this situation is rectified, because git is great for code or at smaller scales of binary data. Large projects would really need a hybrid git, where it's mostly DVCS, but certain directories could be centralised.
In what (real world) use case would one do such a thing?
On a project that requires video or image files? You always need to store the original (non lossy-compressed) files in your source repo.
Why [Perforce is usually preferred]? I haven't used Perforce, to be honest, but I would stay away from it unless absolutely necessary simply because of the licensing costs.
What would be the technical advantage of using it over, for example, git?
In terms of assets, it's superior over git because of the DCVS issues already mentioned. The real question then is, why is it superior over SVN (
seeing as SVN is free)? For a small project with no money to throw around on spurious licensing, it probably doesn't matter. On the larger scale though, it's simply much more efficient than SVN (
e.g. when managing, branching, downloading hundreds of gigs of binary).
[edit]Time travelling quote:
but I think you missed some specific points in OPs question. We're not talking about version control for development artifacts. We're talking about this:[/quote]I wasn't trying to respond to the OP sorry, and I'm pretty sure the questions of yours that I answered were off-topic, so I was just trying to quash this off-topic trolling between you and Antheus about how useful Git is for binary data.