some more s/git-/git /
SVN-Revision: 12380
This commit is contained in:
parent
2311fc9850
commit
d58dd061fe
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ try_svn() {
|
||||||
|
|
||||||
try_git() {
|
try_git() {
|
||||||
[ -d .git ] || return 1
|
[ -d .git ] || return 1
|
||||||
REV="$(git-log | grep -m 1 git-svn-id | awk '{ gsub(/.*@/, "", $2); print $2 }')"
|
REV="$(git log | grep -m 1 git-svn-id | awk '{ gsub(/.*@/, "", $2); print $2 }')"
|
||||||
REV="${REV:+r$REV}"
|
REV="${REV:+r$REV}"
|
||||||
[ -n "$REV" ]
|
[ -n "$REV" ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue