def without_size_limit(git_repo)
      old_max_bytes = git_repo.shell.max_bytes
      begin
        git_repo.shell.max_bytes = nil
        yield
      ensure
        git_repo.shell.max_bytes = old_max_bytes
      end
    end
def without_size_limit(git_repo)
      old_max_bytes = git_repo.shell.max_bytes
      begin
        git_repo.shell.max_bytes = nil
        yield
      ensure
        git_repo.shell.max_bytes = old_max_bytes
      end
    end
Temporarily disables checking the size of the repo_dir against the
 configured size limit. This permits performing git queries against a repo
 on disk that would normally exceed the size limit if it hadn't already
 been fully checked out in the past. If a repo has been scraped in the past
 and does not have any new commits, then it is acceptable even if it
 would exceed the current size limit.