Patch #1207

Redmine::Scm::Adapters::GitAdapter#get_rev ignored GIT_BIN constant

Added by Simone Carletti over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-05-08
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:0.7.2

Description

cmd="git --git-dir #{target('')} show #{shell_quote rev} -- #{shell_quote path}" if rev!='latest' and (! rev.nil?)
cmd="git --git-dir #{target('')} log -1 master -- #{shell_quote path}" if 

This issue causes get_rev calls to fail if someone changed default GIT_BIN path.

git-get_rev.patch Magnifier - Patch for this issue. (846 Bytes) Simone Carletti, 2008-05-08 00:58

Associated revisions

Revision 1428
Added by Jean-Philippe Lang over 9 years ago

Fixed: Redmine::Scm::Adapters::GitAdapter#get_rev ignored GIT_BIN constant (#1207).

History

#1 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed
  • Target version set to 0.7.2

Committed in r1428. Thanks.

Also available in: Atom PDF