mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 13:19:21 +02:00
svn2revisioninc: Work in "git worktree" directories too.
(cherry picked from commit 2d54b4e146
)
This commit is contained in:
parent
84f136b925
commit
db8fc260ac
@ -410,7 +410,7 @@ begin
|
|||||||
if not Result then
|
if not Result then
|
||||||
begin
|
begin
|
||||||
GitDir:= AppendPathDelim(SourceDirectory)+'.git';
|
GitDir:= AppendPathDelim(SourceDirectory)+'.git';
|
||||||
if DirectoryExistsUTF8(GitDir) and GitInPath then
|
if (DirectoryExistsUTF8(GitDir) or FileExistsUTF8(GitDir)) and GitInPath then
|
||||||
begin
|
begin
|
||||||
Result := GetRevisionFromGitVersion;
|
Result := GetRevisionFromGitVersion;
|
||||||
if not Result then begin
|
if not Result then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user