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

Working dir: fix local switch exclude path #4433

Merged
merged 2 commits into from
Nov 19, 2020
Merged
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 @@ -33,6 +33,7 @@ New option/command/subcommand are prefixed with ◈.
* Don't save the pin with `--show` [#4367 @rjbou - fix #4348]
* When several pins are needed, do their fetching in parallel [#4399 @rjbou - fix #4315]
* Don't cleanup vcs pin source directory [#4399 @rjbou]
* Working dir: fix exclude local switch path [#4433 @rjbou]

## List
*
Expand Down
2 changes: 1 addition & 1 deletion src/repository/opamVCS.ml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ module Make (VCS: VCS) = struct
let excluded =
(* from [OpamLocal.rsync] exclude list *)
let exc =
[ OpamSwitch.external_dirname ^ "*"; "_build";
[ OpamSwitch.external_dirname; "_build";
".git"; "_darcs"; ".hg" ]
in
OpamStd.String.Set.filter (fun f ->
Expand Down