Skip to content

Commit b3045b3

Browse files
author
Stephan Dilly
committed
rename
1 parent d67a240 commit b3045b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
{

src/components/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(())

src/queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
///

0 commit comments

Comments
 (0)