348fa749f3
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>
11 lines
269 B
Ruby
11 lines
269 B
Ruby
require 'formula'
|
|
|
|
class Topgit < Formula
|
|
homepage 'http://repo.or.cz/w/topgit.git'
|
|
url 'git://repo.or.cz/topgit.git', :revision => '1744aca50f3d7b6b4863523207e5010e112dfb85'
|
|
version '0.8'
|
|
|
|
def install
|
|
system "make", "install", "prefix=#{prefix}"
|
|
end
|
|
end
|