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

use git -c diff.noprefix=false diff #3788

Merged
merged 1 commit into from
Mar 20, 2019
Merged

use git -c diff.noprefix=false diff #3788

merged 1 commit into from
Mar 20, 2019

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Mar 20, 2019

Rebase on master & close #3628 that fixes #3627.

Fix ocaml#3627 by ensuring git produces a `-p1` diff. This is a very limited
fix but appears to work in my usecase. I have reviewed the other uses of
`git diff` in the same file, but it appears their output is not passed
to `patch` hence this change is unnecessary.
Copy link
Contributor

@Blaisorblade Blaisorblade left a comment

Choose a reason for hiding this comment

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

LGTM!

@rjbou rjbou merged commit 7f4d719 into ocaml:master Mar 20, 2019
@rjbou rjbou added this to the 2.1.0 milestone Mar 20, 2019
rjbou added a commit to rjbou/opam that referenced this pull request Mar 27, 2019
Fix ocaml#3627 by ensuring git produces a `-p1` diff. This is a very limited
fix but appears to work in my usecase. I have reviewed the other uses of
`git diff` in the same file, but it appears their output is not passed
to `patch` hence this change is unnecessary.
rjbou added a commit to rjbou/opam that referenced this pull request Mar 27, 2019
Fix ocaml#3627 by ensuring git produces a `-p1` diff. This is a very limited
fix but appears to work in my usecase. I have reviewed the other uses of
`git diff` in the same file, but it appears their output is not passed
to `patch` hence this change is unnecessary.
@rjbou rjbou mentioned this pull request Mar 27, 2019
@rjbou rjbou modified the milestones: 2.1.0, 2.0.4 Mar 28, 2019
rjbou added a commit to rjbou/opam that referenced this pull request Mar 28, 2019
Fix ocaml#3627 by ensuring git produces a `-p1` diff. This is a very limited
fix but appears to work in my usecase. I have reviewed the other uses of
`git diff` in the same file, but it appears their output is not passed
to `patch` hence this change is unnecessary.
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.

opam update fails because of custom git settings diff.noprefix
2 participants