File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
release/share/git-webui/webui/js
src/share/git-webui/webui/js Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2252,8 +2252,8 @@ webui.NewChangedFilesView = function(workspaceView) {
22522252 if ( selectedItemsFromOtherUser . length > 0 ) {
22532253 self . confirmActionOnOtherUsersChanges ( "commit" ) ;
22542254 } else {
2255- var commitMessage = $ ( '#commitMsg' ) . val ( ) + "\n" + $ ( "#commitMsgDetail" ) . val ( ) ;
2256- self . commit ( commitMessage ) ;
2255+ var commitMessage = $ ( '#commitMsg' ) . val ( ) ;
2256+ self . commit ( commitMessage , $ ( "#commitMsgDetail" ) . val ( ) ) ;
22572257 }
22582258
22592259 } ) ;
@@ -2455,11 +2455,11 @@ webui.NewChangedFilesView = function(workspaceView) {
24552455 } ) ;
24562456 }
24572457
2458- self . commit = function ( message ) {
2458+ self . commit = function ( message , details ) {
24592459 var selectedFilesAsString = selectedItems . join ( " " ) ;
24602460
24612461 webui . git ( "add " + selectedFilesAsString ) ;
2462- webui . git ( 'commit -m "' + message + '" -- ' + selectedFilesAsString , function ( output ) {
2462+ webui . git ( 'commit -m "' + message + '" -m "' + details + '" - - ' + selectedFilesAsString , function ( output ) {
24632463 webui . showSuccess ( output ) ;
24642464 workspaceView . update ( ) ;
24652465 } ) ;
Original file line number Diff line number Diff line change @@ -2252,8 +2252,8 @@ webui.NewChangedFilesView = function(workspaceView) {
22522252 if ( selectedItemsFromOtherUser . length > 0 ) {
22532253 self . confirmActionOnOtherUsersChanges ( "commit" ) ;
22542254 } else {
2255- var commitMessage = $ ( '#commitMsg' ) . val ( ) + "\n" + $ ( "#commitMsgDetail" ) . val ( ) ;
2256- self . commit ( commitMessage ) ;
2255+ var commitMessage = $ ( '#commitMsg' ) . val ( ) ;
2256+ self . commit ( commitMessage , $ ( "#commitMsgDetail" ) . val ( ) ) ;
22572257 }
22582258
22592259 } ) ;
@@ -2455,11 +2455,11 @@ webui.NewChangedFilesView = function(workspaceView) {
24552455 } ) ;
24562456 }
24572457
2458- self . commit = function ( message ) {
2458+ self . commit = function ( message , details ) {
24592459 var selectedFilesAsString = selectedItems . join ( " " ) ;
24602460
24612461 webui . git ( "add " + selectedFilesAsString ) ;
2462- webui . git ( 'commit -m "' + message + '" -- ' + selectedFilesAsString , function ( output ) {
2462+ webui . git ( 'commit -m "' + message + '" -m "' + details + '" - - ' + selectedFilesAsString , function ( output ) {
24632463 webui . showSuccess ( output ) ;
24642464 workspaceView . update ( ) ;
24652465 } ) ;
You can’t perform that action at this time.
0 commit comments