diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-01-01 12:55:39 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-01-04 18:11:42 -0600 |
commit | 10695f68c42d9c4de7dd52cbe7781701a30a873c (patch) | |
tree | 7de12f9880d3c76d23b78d13bae9736dfe84a9ca /lib/bundler/source | |
parent | 513546978ab741fcba527bcc428425dce76b1e74 (diff) | |
download | bundler-10695f68c42d9c4de7dd52cbe7781701a30a873c.tar.gz |
[GitProxy] Support branches containing shell metacharacters
Diffstat (limited to 'lib/bundler/source')
-rw-r--r-- | lib/bundler/source/git/git_proxy.rb | 2 |
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 |