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

-x $file only removes the diff body from git diff output #27

Open
brianjmurrell opened this issue Jun 14, 2019 · 0 comments
Open

-x $file only removes the diff body from git diff output #27

brianjmurrell opened this issue Jun 14, 2019 · 0 comments

Comments

@brianjmurrell
Copy link

git diff v3.3..HEAD | filterdiff -p 1 -x README.vin
...
diff --git a/README.vin b/README.vin
index d7a1ea2..7c298d7 100644
diff --git a/autogen.sh b/autogen.sh
...

Leaving those two lines in confuses patch:

The text leading up to this was:
--------------------------
|diff --git a/README.vin b/README.vin
|index d7a1ea2..7c298d7 100644
--------------------------
File to patch: 
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