summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm/adapters/git_adapter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/scm/adapters/git_adapter.rb')
-rw-r--r--lib/redmine/scm/adapters/git_adapter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb
index 94d84e485..eba781013 100644
--- a/lib/redmine/scm/adapters/git_adapter.rb
+++ b/lib/redmine/scm/adapters/git_adapter.rb
@@ -69,7 +69,7 @@ module Redmine
end
def info
- Info.new(:root_url => url, :lastrev => lastrev('',nil))
+ Info.new(:root_url => url, :lastrev => lastrev('', nil))
rescue
nil
end
@@ -421,7 +421,7 @@ module Redmine
class Revision < Redmine::Scm::Adapters::Revision
# Returns the readable identifier
def format_identifier
- identifier[0,8]
+ identifier[0, 8]
end
end