mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 20:39:14 +02:00
svn2revisioninc: Work in "git worktree" directories too.
This commit is contained in:
parent
3eb8208a47
commit
2d54b4e146
@ -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