gitlabhq/gitlabhq — pull request #5891 by jhollingsworth (2013-12-21 04:27:27+00:00)
Title: Add support for various archive formats.

Used mime-types gem instead of hardcoding content types.
Allow multiple extensions in archive route (.tar.gz, .tar.bz2).
Change content disposition from infile(?) to attachment for api.
Fixed api would return “archive” instead of {project}-{hash}.{ext}

In order for this to work, https://github.com/gitlabhq/gitlab_git/pull/20 needs to be merged first.