File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ impl App {
343
343
self . reset . open ( action) ?;
344
344
flags. insert ( NeedsUpdate :: COMMANDS ) ;
345
345
}
346
- InternalEvent :: AddHunk ( hash) => {
346
+ InternalEvent :: StageHunk ( hash) => {
347
347
if let Some ( ( path, is_stage) ) =
348
348
self . status_tab . selected_path ( )
349
349
{
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ impl DiffComponent {
278
278
. as_ref ( )
279
279
. expect ( "try using queue in immutable diff" )
280
280
. borrow_mut ( )
281
- . push_back ( InternalEvent :: AddHunk ( hash) ) ;
281
+ . push_back ( InternalEvent :: StageHunk ( hash) ) ;
282
282
}
283
283
284
284
Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub enum InternalEvent {
37
37
///
38
38
ConfirmedAction ( Action ) ,
39
39
///
40
- AddHunk ( u64 ) ,
40
+ StageHunk ( u64 ) ,
41
41
///
42
42
ShowErrorMsg ( String ) ,
43
43
///
You can’t perform that action at this time.
0 commit comments