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

Support for git diffs #413

Open
Jasha10 opened this issue Dec 23, 2021 · 0 comments
Open

Support for git diffs #413

Jasha10 opened this issue Dec 23, 2021 · 0 comments

Comments

@Jasha10
Copy link
Contributor

Jasha10 commented Dec 23, 2021

In git diffs, there are sometimes lines that look like this:

index f80b65d..c8f438a 100644
--- a/tests/test_signature_parsing.py
+++ b/tests/test_signature_parsing.py
@@ -317,7 +317,7 @@ def expects_int(x: int) -> int:

fpp picks up on the path a/tests/test_signature_parsing.py, but that path has a prefix a/ that is not desired (i.e. tests/test_signature_parsing.py would be prefered).

I wonder: what is the best way for me (as a user) to handle this use-case? I.e. I would like to perform some processing of the selected path(s), e.g. using sed, before passing the paths to a command or opening with an editor.

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

No branches or pull requests

1 participant