Skip to content

Improve stash view, support applying stash file/hunk/line path#492

Merged
altsem merged 4 commits intoaltsem:masterfrom
sbillig:stash-view
Mar 21, 2026
Merged

Improve stash view, support applying stash file/hunk/line path#492
altsem merged 4 commits intoaltsem:masterfrom
sbillig:stash-view

Conversation

@sbillig
Copy link
Copy Markdown
Contributor

@sbillig sbillig commented Jan 3, 2026

Improves the stash view, so that it shows staged, unstaged, and untracked file sections.

Also adds support for applying any portion of a stash (file/hunk/line) as a patch to the current worktree.

Checklist

let mut cmd = Command::new("git");
cmd.args(["apply", "--recount"]);

app.close_menu();
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated this in master. Now app.close_menu() is called implicitly.

let mut cmd = Command::new("git");
cmd.arg("apply");

app.close_menu();
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@altsem altsem merged commit d26819b into altsem:master Mar 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants