Skip to content
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

Do not ask to install pin-depends twice #6375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading