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 {
343343 self . reset . open ( action) ?;
344344 flags. insert ( NeedsUpdate :: COMMANDS ) ;
345345 }
346- InternalEvent :: AddHunk ( hash) => {
346+ InternalEvent :: StageHunk ( hash) => {
347347 if let Some ( ( path, is_stage) ) =
348348 self . status_tab . selected_path ( )
349349 {
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ impl DiffComponent {
278278 . as_ref ( )
279279 . expect ( "try using queue in immutable diff" )
280280 . borrow_mut ( )
281- . push_back ( InternalEvent :: AddHunk ( hash) ) ;
281+ . push_back ( InternalEvent :: StageHunk ( hash) ) ;
282282 }
283283
284284 Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub enum InternalEvent {
3737 ///
3838 ConfirmedAction ( Action ) ,
3939 ///
40- AddHunk ( u64 ) ,
40+ StageHunk ( u64 ) ,
4141 ///
4242 ShowErrorMsg ( String ) ,
4343 ///
You can’t perform that action at this time.
0 commit comments