commit 133cb4320f414cfb1e484149d5bb38b62e6a42bb Author: Mike Perry mikeperry-git@torproject.org Date: Sat Aug 3 02:13:21 2013 +0200
Disable git fetching during build.
We should perform all network activity beforehand, so builds can be done on an offline machine. --- bin/gbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/gbuild b/bin/gbuild index e78e8a2..6255678 100755 --- a/bin/gbuild +++ b/bin/gbuild @@ -203,7 +203,7 @@ build_desc["remotes"].each do |remote| unless File.exist?("inputs/#{dir}") system!("git init inputs/#{dir}") end - system!("cd inputs/#{dir} && git fetch --update-head-ok #{sanitize_path(remote["url"], remote["url"])} +refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/*") +# system!("cd inputs/#{dir} && git fetch --update-head-ok #{sanitize_path(remote["url"], remote["url"])} +refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/*") commit = remote["commit"] #sanitize(remote["commit"], remote["commit"]) commit = `cd inputs/#{dir} && git log --format=%H -1 #{commit}`.strip raise "error looking up commit for tag #{remote["commit"]}" unless $?.exitstatus == 0
tor-commits@lists.torproject.org