Select the types of activity you want to include in your feed.
precommit: Create .ocamlformat regardless of --force flag
The previous logic skipped creating .ocamlformat when --force was used, which was backwards. Now it always creates .ocamlformat if missing when fmt hooks are requested.
···136136 chmod_exec ~dry_run commit_msg_path
137137 end;
138138139139- (* Create .ocamlformat if missing and fmt hooks requested and not forcing *)
140140- if hooks.fmt && (not force) && not (file_exists ~fs ocamlformat_path) then
139139+ (* Create .ocamlformat if missing and fmt hooks requested *)
140140+ if hooks.fmt && not (file_exists ~fs ocamlformat_path) then
141141 write_file ~fs ~dry_run ocamlformat_path default_ocamlformat;
142142143143 Ok ()