Sort patches in expanded series based on patch numbers. - #4
Closed
putnopvut wants to merge 3 commits into
Closed
Conversation
Add the ability to save patches and series to disk using the "w" key. Single patches save as individual mbox files, while series are saved to a subdirectory containing all patches in the series. Patch files are named using git format-patch style (e.g., 0001-Fix-bug.patch) based on the patch subject and number. Users can configure where patches are saved using the git config value leadlight.patchDirectory. If set, patches save to that directory under the repository root (created automatically if needed). If not set, patches save to the current working directory. Key bindings: - "w" in table view: save highlighted patch or series - "w" in patch view: save currently viewed patch Saving the patch to disk provides a way for users to open the patch in their editor of choice and send email replies to patches using `git send-email` or their tool of choice. Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: Mark Michelson <mmichels@redhat.com>
When pressing space to expand a series, the patches are listed in an arbitrary order. This can make it difficult to view patches in order or notices on large series that patches are missing (usually due to patchwork errors). This commit sorts the patches based on patch number. This solves the issues stated above. Signed-off-by: Mark Michelson <mmichels@redhat.com>
Author
|
I closed this PR since it appears to be pulling in more commits than I intended. I need to verify that my fork is synced with yours properly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.