lib/braid/mirror.rb in braid-1.1.7 vs lib/braid/mirror.rb in braid-1.1.8

- old
+ new

@@ -84,10 +84,10 @@ url = url.sub(/\/$/, '') raise NoTagAndBranch if options['tag'] && options['branch'] tag = options['tag'] - branch = options['branch'] || (tag.nil? ? 'master' : nil) + branch = options['branch'] path = (options['path'] || extract_path_from_url(url, options['remote_path'])).sub(/\/$/, '') raise PathRequired unless path remote_path = options['remote_path']