@@ -27,8 +27,8 module Redmine | |||
|
27 | 27 | |
|
28 | 28 | # Get the revision of a particuliar file |
|
29 | 29 | def get_rev (rev,path) |
|
30 |
cmd=" |
|
|
31 |
cmd=" |
|
|
30 | cmd="#{GIT_BIN} --git-dir #{target('')} show #{shell_quote rev} -- #{shell_quote path}" if rev!='latest' and (! rev.nil?) | |
|
31 | cmd="#{GIT_BIN} --git-dir #{target('')} log -1 master -- #{shell_quote path}" if | |
|
32 | 32 | rev=='latest' or rev.nil? |
|
33 | 33 | rev=[] |
|
34 | 34 | i=0 |
General Comments 0
You need to be logged in to leave comments.
Login now