aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-01-01 12:55:39 -0600
committerSamuel Giddins <segiddins@segiddins.me>2017-01-04 18:11:42 -0600
commit10695f68c42d9c4de7dd52cbe7781701a30a873c (patch)
tree7de12f9880d3c76d23b78d13bae9736dfe84a9ca /lib/bundler/source
parent513546978ab741fcba527bcc428425dce76b1e74 (diff)
downloadbundler-10695f68c42d9c4de7dd52cbe7781701a30a873c.tar.gz
[GitProxy] Support branches containing shell metacharacters
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/git/git_proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git/git_proxy.rb b/lib/bundler/source/git/git_proxy.rb
index c44f00d7..4000cc4a 100644
--- a/lib/bundler/source/git/git_proxy.rb
+++ b/lib/bundler/source/git/git_proxy.rb
@@ -180,7 +180,7 @@ module Bundler
def find_local_revision
allowed_in_path do
- git("rev-parse --verify #{ref}", true).strip
+ git("rev-parse --verify '#{ref}'", true).strip
end
end