Version control: Fix handling of metadata of files not stored in the project. No infinite recursion anymore.
[DEVELOPMENT ENVIRONMENT] * BUG: Version control: Fix handling of metadata of files not stored in the project. No infinite recursion anymore.
This commit is contained in:
parent
0b96e3fb64
commit
9d3ec8d46b
1 changed files with 1 additions and 1 deletions
|
@ -6458,9 +6458,9 @@ Public Sub HasFlag(sPath As String, iFlag As Integer, Optional bRec As Boolean)
|
|||
If Not $cPathFlag Then Return
|
||||
If Not sPath Then Return
|
||||
If File.IsRelative(sPath) Then sPath = Project.Dir &/ sPath
|
||||
If Not IsProjectPath(sPath) Then Return
|
||||
If BTst($cPathFlag[sPath], iFlag) Then Return True
|
||||
If Not bRec Then Return
|
||||
If (sPath &/ "/") = (Project.Dir &/ "/") Then Return
|
||||
Return HasFlag(File.Dir(sPath), iFlag, bRec)
|
||||
|
||||
End
|
||||
|
|
Loading…
Reference in a new issue