Skip to content

Commit

Permalink
Allow users to answer questions asked by ssh when git is called
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Aug 14, 2023
1 parent e6ed66f commit 81a853a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/publishCommon.ml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let git_command ?dir ?(verbose=false) args =
let git_query ?dir args =
let dir = dir >>| OpamFilename.Dir.to_string in
OpamProcess.Job.run @@
OpamSystem.make_command ~verbose:false ?dir "git" args @@> fun r ->
OpamSystem.make_command ~verbose:false ~allow_stdin:true ?dir "git" args @@> fun r ->
if OpamProcess.is_success r then
match r.OpamProcess.r_stdout with
| r :: _ -> Done (Some r)
Expand Down

0 comments on commit 81a853a

Please sign in to comment.