Skip to content

Commit 1fb253f

Browse files
authored
Merge pull request #419 from intersystems/fix-add
Fix bugs pertaining to adding files
2 parents 244d130 + 286998c commit 1fb253f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111
- Fixed JS errors in Studio on certain operations (#416)
12+
- Files are added to source control upon creation properly (#404)
13+
- Files show in uncommitted queue when automatically added (#407)
1214
- WebUI workspace view now works properly for filenames with spaces (#423)
1315
- Fixed error popups in interop editors in Studio on 2024.1 (#417)
1416

cls/SourceControl/Git/Utils.cls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,10 @@ ClassMethod AddToSourceControl(InternalName As %String) As %Status
672672
do ..RunGitCommand("add",.errStream,.outStream,filenames(i),"--intent-to-add")
673673
write !, "Added ", FileInternalName, " to source control."
674674
do ..PrintStreams(outStream, errStream)
675+
675676
}
676677
}
678+
do ##class(SourceControl.Git.Change).RefreshUncommitted(,,,1)
677679
quit ec
678680
}
679681

0 commit comments

Comments
 (0)