comparison lib/redmine/scm/adapters/.svn/text-base/git_adapter.rb.svn-base @ 210:0579821a129a

Update to Redmine trunk rev 4802
author Chris Cannam
date Tue, 08 Feb 2011 13:51:46 +0000
parents 8661b858af72
children 051f544170fe
comparison
equal deleted inserted replaced
128:07fa8a8b56a8 210:0579821a129a
20 module Redmine 20 module Redmine
21 module Scm 21 module Scm
22 module Adapters 22 module Adapters
23 class GitAdapter < AbstractAdapter 23 class GitAdapter < AbstractAdapter
24 # Git executable name 24 # Git executable name
25 GIT_BIN = "git" 25 GIT_BIN = Redmine::Configuration['scm_git_command'] || "git"
26 26
27 def info 27 def info
28 begin 28 begin
29 Info.new(:root_url => url, :lastrev => lastrev('',nil)) 29 Info.new(:root_url => url, :lastrev => lastrev('',nil))
30 rescue 30 rescue