File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
git-webui/release/share/git-webui/webui/js Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ 2.5.1] - Unreleased
9
+
10
+ ### Fixed
11
+ - Added warnings when user is using incompatible git version
12
+
8
13
## [ 2.5.0] - 2024-09-24
9
14
10
15
### Added
@@ -13,7 +18,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
18
- Support for editing repo from filesystem perspective via web application (#464 )
14
19
- Support for downloading a VSCode workspace file from web UI
15
20
- IncrementalLoad pull event handler will update the running production, if any (#473 )
16
- - Warnings to users if git version is incompatible (#488 )
17
21
18
22
### Fixed
19
23
- Instance wide settings are placed in proper global (#444 )
Original file line number Diff line number Diff line change @@ -110,6 +110,15 @@ webui.showWarning = function(message) {
110
110
'</div>' ) . appendTo ( messageBox ) ;
111
111
}
112
112
113
+ webui . gitVersion = function ( ) {
114
+ $ . get ( "api/git-version" , function ( version ) {
115
+ var ver = JSON . parse ( version ) [ "version" ] ;
116
+ if ( ver < 2.31 ) {
117
+ alert ( "Your git version is incompatible with git-source-control. Please upgrade to git 2.31.0 or greater." )
118
+ }
119
+ } )
120
+ }
121
+
113
122
webui . git_command = function ( command , callback ) {
114
123
$ . ajax ( {
115
124
url : "git-command" ,
@@ -313,6 +322,7 @@ webui.getNodeIndex = function(element) {
313
322
314
323
webui . TabBox = function ( buttons ) {
315
324
325
+
316
326
var self = this ;
317
327
318
328
self . itemClicked = function ( event ) {
@@ -2808,6 +2818,7 @@ webui.NewChangedFilesView = function(workspaceView) {
2808
2818
function MainUi ( ) {
2809
2819
2810
2820
var self = this ;
2821
+ webui . gitVersion ( ) ;
2811
2822
2812
2823
self . switchTo = function ( element ) {
2813
2824
webui . detachChildren ( self . mainView ) ;
Original file line number Diff line number Diff line change 3
3
<Document name =" git-source-control.ZPM" >
4
4
<Module >
5
5
<Name >git-source-control</Name >
6
- <Version >2.5.0 </Version >
6
+ <Version >2.5.1 </Version >
7
7
<Description >Server-side source control extension for use of Git on InterSystems platforms</Description >
8
8
<Keywords >git source control studio vscode</Keywords >
9
9
<Packaging >module</Packaging >
You can’t perform that action at this time.
0 commit comments