Skip to content

Commit 039c7f5

Browse files
committed
fix: inconsistent casing in items cache
1 parent ce59958 commit 039c7f5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.11.1] - Unreleased
9+
10+
### Fixed
11+
- extensions in item cache are consistently upper-case, so "export all" doesn't duplicate work (#727)
12+
813
## [2.11.0] - Unreleased
914

1015
### Added

cls/SourceControl/Git/Utils.cls

Lines changed: 2 additions & 2 deletions
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)