Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added reverse operation to reverse a patch #26

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

brandonpollack23
Copy link
Contributor

@brandonpollack23 brandonpollack23 commented Dec 27, 2023

I needed a simple undo operation for a project I'm considering working on. I liked how simple diffy was to use so I added/tested this and thought maybe you would be so kind as to give feedback or accept it :)

@bmwill
Copy link
Owner

bmwill commented Jan 10, 2024

Thanks for the contribution! This looks good and fairly straightforward. I'll work on fixing the lint that is failing elsewhere in the code and then I'll get this merged. And sorry for the delay!

@bmwill bmwill merged commit 824674e into bmwill:master Jan 10, 2024
@brandonpollack23
Copy link
Contributor Author

Oh yay thank you :)

fn reverse_multi_line_file() {
let original = r"Commander Worf
What do you want this time, Picard?!
Commander Worf how dare you speak to mean that way!
Copy link

@correabuscar correabuscar Jun 30, 2024

Choose a reason for hiding this comment

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

is mean here a typo? is it meant to be me or me in ?

@brandonpollack23
Copy link
Contributor Author

brandonpollack23 commented Jun 30, 2024 via email

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.

None yet

3 participants