mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 15:09:33 +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
|
||||
begin
|
||||
GitDir:= AppendPathDelim(SourceDirectory)+'.git';
|
||||
if DirectoryExistsUTF8(GitDir) and GitInPath then
|
||||
if (DirectoryExistsUTF8(GitDir) or FileExistsUTF8(GitDir)) and GitInPath then
|
||||
begin
|
||||
Result := GetRevisionFromGitVersion;
|
||||
if not Result then begin
|
||||
|
Loading…
Reference in New Issue
Block a user