Skip to content

Commit cba24b5

Browse files
authored
Merge pull request #715 from intersystems/fix-713
Do not try to import settings file if repo directory does not exist
2 parents e1584c6 + 6652ecf commit cba24b5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
- Popping from stash is more responsive (#687)
1919
- Favorites links for Git pages now works on recent IRIS versions (#734)
2020

21+
### Fixed
22+
- Fixed error running Import All when Git settings file does not exist (#713)
23+
2124
## [2.10.0] - 2025-02-10
2225

2326
### Added

Diff for: cls/SourceControl/Git/Utils.cls

+1-1
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ ClassMethod ListItemsInFiles(ByRef itemList, ByRef err) As %Status
14981498

14991499
// Config file may exist at the root of the Git repo.
15001500
set configFilePath = ##class(%File).NormalizeFilename(##class(SourceControl.Git.Settings.Document).#EXTERNALNAME, ..TempFolder())
1501-
if ##class(%File).Exists(##class(%File).NormalizeFilename(configFilePath)) {
1501+
if (configFilePath '= "") && ##class(%File).Exists(##class(%File).NormalizeFilename(configFilePath)) {
15021502
set itemList(..NameToInternalName(configFilePath)) = ""
15031503
}
15041504

0 commit comments

Comments
 (0)