Skip to content

Commit

Permalink
Try fixing ocaml#3627
Browse files Browse the repository at this point in the history
Try fixing ocaml#3627 as suggested there. To test.
  • Loading branch information
Blaisorblade authored Oct 24, 2018
1 parent 5853cbf commit 7f9db21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repository/opamGit.ml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module VCS : OpamVCS.VCS = struct
(* Git diff is to the working dir, but doesn't work properly for
unregistered directories. *)
OpamSystem.raise_on_process_error r;
git repo_root ~stdout:patch_file [ "diff" ; "--no-ext-diff" ; "-R" ; "-p" ; rref; "--" ]
git repo_root ~stdout:patch_file [ "-c" ; "diff.noprefix=false" ; "diff" ; "--no-ext-diff" ; "-R" ; "-p" ; rref; "--" ]
@@> fun r ->
if not (OpamProcess.check_success_and_cleanup r) then
(finalise ();
Expand Down

0 comments on commit 7f9db21

Please sign in to comment.