Skip to content

Commit

Permalink
Do not ask to install pin-depends twice
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jan 22, 2025
1 parent f80c027 commit afa0d36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ users)
## Pin
* [NEW] Make it so pin list display the current revision of a pinned repository in a new column [#6274 @desumn - fix #5533]
* [BUG] Stop double pin of packages located in ./opam/opam [#6343 @kit-ty-kate - fix #6342]
* [BUG] Do not ask to install pin-depends twice [#6375 @kit-ty-kate - fix #6374]

## List

Expand Down
6 changes: 0 additions & 6 deletions src/client/opamAuxCommands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -494,12 +494,6 @@ let autopin st ?(simulate=false) ?quiet ?locked ?recurse ?subpath
else
OpamUpdate.dev_packages st ~working_dir:OpamPackage.Set.empty already_pinned
in
let st =
if OpamClientConfig.(!r.ignore_pin_depends) then st else
OpamPackage.Set.fold (fun nv st ->
OpamPinCommand.handle_pin_depends st nv (OpamSwitchState.opam st nv))
(OpamPackage.Set.union pins already_pinned_set) st
in
st, atoms

let check_and_revert_sandboxing root config =
Expand Down

0 comments on commit afa0d36

Please sign in to comment.