summaryrefslogtreecommitdiff
path: root/lib/bundler/source/git
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-09-26 17:12:33 +0200
committergit <[email protected]>2024-09-30 05:08:25 +0000
commit060932af989831f31c562781385100f196d63d4d ()
tree2e150cc4dafe31ffe6d3620b7846c10e30199e3c /lib/bundler/source/git
parent82f250af45f676b3d0a22f00d01cd29bfaa2761c (diff)
[rubygems/rubygems] Fix old cache format detection when application is not source controlled
https://.com/rubygems/rubygems/commit/b2adcc0173
-rw-r--r--lib/bundler/source/git/git_proxy.rb6
1 files changed, 4 insertions, 2 deletions
@@ -84,8 +84,10 @@ module Bundler
end
end
- def not_a_bare_repository?
- git_local("rev-parse", "--is-bare-repository", dir: path).strip == "false"
end
def contains?(commit)