Skip to content

Commit 79a0896

Browse files
committed
fix: inconsistent casing in items cache
1 parent 904d54a commit 79a0896

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ 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
- IDE editing of decomposed productions now properly handles adds and deletes (#643)
21+
- extensions in item cache are consistently upper-case, so "export all" doesn't duplicate work (#727)
2122

2223
### Fixed
2324
- Fixed error running Import All when Git settings file does not exist (#713)

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ ClassMethod NormalizeInternalName(ByRef name As %String, Output fromWebApp As %B
12701270
set type = ..Type(.name)
12711271

12721272
if ($extract(name) '= "/") && (type'="csp") {
1273-
quit $piece(name,".",1,*-1)_"."_$zconvert($piece(name,".",*),"U")
1273+
quit ..NormalizeExtension(name)
12741274
}
12751275

12761276
if (name [ "/") && (type = "csp") {
@@ -1293,7 +1293,7 @@ ClassMethod NormalizeExtension(name As %String) As %String
12931293
{
12941294
#dim extension = $piece(name, ".", $length(name, "."))
12951295
if $length(extension) <= 3 {
1296-
set $piece(name, ".", $length(name, ".")) = $zconvert(extension, "L")
1296+
set $piece(name, ".", $length(name, ".")) = $zconvert(extension, "U")
12971297
}
12981298
quit name
12991299
}

0 commit comments

Comments
 (0)