Skip to content

Import items that don't already exist when compileOnImport is not set #799

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

raymond-rebbeck
Copy link
Contributor

Fixes #798

Import All will now import items when compileOnImport = 0.

Previously items that had also been added to source control would not also be imported as the pull event handler would not be invoked, which would otherwise have imported then.

Prior to 03607e9 items would have been imported as part of adding them to source control, which no longer happens.

… compileOnImport is not set

For an item that is not already in source control, Import All would add it to source control and then if compileOnImport was set the default pull handler would be invoked, which would result in the item being imported too. However, when compileOnImport is not set the default pull handler would not be invoked, and the item would not be imported.

This change makes it so that the item is imported when compileOnImport is not set.
@raymond-rebbeck raymond-rebbeck force-pushed the import-all-no-compile branch from 38bbb6d to 413fee4 Compare June 28, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import All will not import anything that doesn't already exist if compileOnImport is not set
1 participant