Commit Graph

7 Commits (56ee61eace75bffe2bcec323fc84dd4af5f4999c)

Author SHA1 Message Date
Jack Nagel 348fa749f3 GitDownloadStrategy optimization
The current series of fetch invocations in GitDownloadStrategy has the
unfortunate behavior of fetching full history even in shallow clones
that only need the history between the clone point and the remote HEAD.
It should be possible to determine if it is actually necessary to fetch
the full history, including all tags, and if it is not to avoid this
overhead.

Fixes Homebrew/homebrew#11958, and several other recurring problems.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-01 21:46:42 -05:00
Jack Nagel cf4cf32deb Don't set GIT_DIR when staging git clones
GIT_DIR is convenient, but it does not work when both a formula and
subformula try to stage a git checkout, as git will use the main
formula's repository when staging the subformula.

Stop setting it, and restore the kludge to the git-multipush formula.

Fixes Homebrew/homebrew#10893.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-01 18:07:58 -05:00
Jack Nagel 34601ee38f git-multipush: setting GIT_DIR is now unnecessary
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-28 18:35:09 -06:00
Daniel Bingham d4fd8847f2 git-multipush: update to 2.3 and add HEAD
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-03 18:47:07 -05:00
Adam Vandenberg 4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Caius Durling b201a50a54 Removing git-multipush's dependency on git.
git may already be installed on developer's macs, so no need to reinstall it through homebrew.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-23 09:25:17 -07:00
Caius Durling f8dc653055 Adding formula for git-multipush
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-02-05 11:30:10 +01:00