You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# dune build no.exe
git (internal) (exit 128)
/usr/local/bin/git rev-parse HEAD > /tmp/dune1dde43.output
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Reproduction
# mkdir /tmp/foo
# cd /tmp/foo
# touch no.ml
# echo "(executable (name no))" > dune
# dune build no.exe
--> success (as expected)
# dune clean
# git init
# dune build no.exe
git (internal) (exit 128)
/usr/local/bin/git rev-parse HEAD > /tmp/dune1dde43.output
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
--> here I expected it to "just work"
Specifications
Version of dune (output of dune --version):
2.7.1
Version of ocaml (output of ocamlc --version)
Operating system (distribution and version):
The text was updated successfully, but these errors were encountered:
Expected Behavior
successful build of a binary
Actual Behavior
Reproduction
Specifications
dune
(output ofdune --version
):2.7.1
ocaml
(output ofocamlc --version
)The text was updated successfully, but these errors were encountered: