NixOS/hydra — pull request #3 by nbp (2012-04-15 01:26:26+00:00)
Title: Optimize fetch-git.

This use different set of git command which reduce the network usage for clone based on the need for a deep clone. Projects which are depending on the git meta-data should use an extra third flag on the Git Repository line:

gitRepo branchName DeepCloneFlag

If any text is place at the location of the Deep Clone Flag, the fetchGitInput function will fallback on a version which prevent nix-prefetch-git optimizations and hydra optimizations.

In addition, this patch improve the test suite.