lib/gitrb/repository.rb in gitrb-0.2.7 vs lib/gitrb/repository.rb in gitrb-0.2.8

- old
+ new

@@ -42,11 +42,10 @@ @bare = options[:bare] || false @branch = options[:branch] || 'master' @logger = options[:logger] || Logger.new(nil) @encoding = options[:encoding] || DEFAULT_ENCODING - @path = options[:path] - @path.chomp!('/') + @path = options[:path].chomp('/') @path += '/.git' if !@bare check_git_version if !options[:ignore_version] open_repository(options[:create])