Skip to content

Commit e6aa6ba

Browse files
committed
docs(import[_classify_import_action]): Clarify that SKIP_UNCHANGED is not a pure no-op
why: The docstring said "Same URL is always a no-op" but _run_import now stamps provenance metadata on unchanged entries when import_source is set. what: - Change wording from "no-op" to "classified as unchanged" - Add cross-reference note about _run_import provenance stamping behavior
1 parent faab7ff commit e6aa6ba

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/vcspull/cli/import_cmd/_common.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ def _classify_import_action(
9595
... )
9696
<ImportAction.ADD: 'add'>
9797
98-
Same URL is always a no-op — even when pinned or sync is set:
98+
Same URL is always classified as unchanged — even when pinned or sync is set.
99+
100+
Note: ``_run_import`` may still stamp provenance metadata on unchanged entries
101+
when ``import_source`` is provided.
99102
100103
>>> _classify_import_action(
101104
... incoming_url="git+ssh://x",

0 commit comments

Comments
 (0)