You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs warnings when there is not an exact string match between the untracked in scm.status() and any item in include_untracked.
This causes incorrect warnings in scenarios like passing a folder to --include-untracked:
$ git init
$ dvc init
$ git commit -m "init"
$ mkdir data
$ touch data/foo
$ touch data/bar
$ dvc exp save --include-untracked dataWARNING: The following untracked files were present in the workspace before saving but will not be included in the experiment commit: data/foo, data/barExperiment has been saved as: paler-tams To promote an experiment to a Git branch run: dvc exp branch <exp> <branch>
Where data/foo and data/bar are actually included in the experiment:
$ git show f312d6dcommit f312d6d00ab0ff7d6bb1d2d0fb8eca12e2a8ffb0 (refs/exps/2e/95a6fc1d0347b35f21d03051555f55bd4cf2af/paler-tams)Author: David de la Iglesia Castro <daviddelaiglesiacastro@gmail.com>Date: Mon Feb 20 15:15:31 2023 +0100 dvc: commit experiment paler-tamsdiff --git a/data/bar b/data/barnew file mode 100644index 0000000..e69de29diff --git a/data/foo b/data/foonew file mode 100644index 0000000..e69de29
The text was updated successfully, but these errors were encountered:
The current check:
dvc/dvc/repo/experiments/save.py
Lines 61 to 62 in 6fbbbec
Logs warnings when there is not an exact string match between the untracked in
scm.status()
and any item ininclude_untracked
.This causes incorrect warnings in scenarios like passing a folder to
--include-untracked
:Where
data/foo
anddata/bar
are actually included in the experiment:The text was updated successfully, but these errors were encountered: