-
Notifications
You must be signed in to change notification settings - Fork 152
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
Ignore trailing newlines when doing 'test and set' on reference files #611
Conversation
The proper fix should probably be to modify https://github.com/mirage/ocaml-git/blob/master/src/git/fs.ml#L630-L638, but this patch should be fine too. |
I think you might need
(the I think these should fix CircleCI and appveyor |
@djs55 thanks, I have rebased on top on your branch |
Dockerfile.ci
Outdated
@@ -1,8 +1,7 @@ | |||
FROM ocaml/opam-dev@sha256:1dd4440b3e5f182f705cb5a74f9d4e860c2842b45ed72c199de89a894d13f522 | |||
#FROM ocaml/opam-dev:alpine-3.5_ocaml-4.04.0 | |||
FROM ocaml/opam:alpine-3.5_ocaml-4.04.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the move back to opam 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because `git commit` might add these. Fix moby#610 Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
Rebased on top of master. |
Changes: - git: make `Git.FS.test_and_set_references` work better with packed references (mirage/ocaml-git#291, @samoht. Fixes moby/datakit#633) - git-unix: ignore trailing newlines when doing 'test and set' on reference files (backport of moby/datakit#611, @samoht. Fixes moby/datakit#610) - git-mirage: fix linking of tests (@samoht)
This is because
git commit
might add these. Fix #610/cc @djs55