Bug #2960 ยป 0001-Fix-svn-revison-detection-of-git-based-repo-on-Windo.patch
tool/file2lastrev.rb | ||
---|---|---|
register(".git")
|
||
def get_revisions(path)
|
||
logcmd = %Q[git log -n1 --grep='^ *git-svn-id: .*@[0-9][0-9]* ']
|
||
logcmd = %Q[git log -n1 --grep="^ *git-svn-id: .*@[0-9][0-9]* "]
|
||
idpat = /git-svn-id: .*?@(\d+) \S+\Z/
|
||
super do
|
||
last = `#{logcmd}`[idpat, 1]
|