File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,15 +188,15 @@ export default class FilePatchView {
188188
189189 didClickStageButtonForHunk ( hunk ) {
190190 if ( this . selection . getMode ( ) === 'line' && this . selection . getSelectedHunks ( ) . has ( hunk ) ) {
191- return this . props . attemptLineStateOperation ( this . selection . getSelectedLines ( ) ) ;
191+ return this . props . attemptLineStageOperation ( this . selection . getSelectedLines ( ) ) ;
192192 } else {
193193 this . selection . selectHunk ( hunk ) ;
194194 return this . props . stageOrUnstageHunk ( hunk ) ;
195195 }
196196 }
197197
198198 didConfirm ( ) {
199- return this . props . attemptLineStateOperation ( this . selection . getSelectedLines ( ) ) ;
199+ return this . props . attemptLineStageOperation ( this . selection . getSelectedLines ( ) ) ;
200200 }
201201
202202 focus ( ) {
You can’t perform that action at this time.
0 commit comments