exp save: Don't relink during commit

Same change as in https://github.com/iterative/dvc/pull/9076 but for `exp save`
This commit is contained in:
David de la Iglesia Castro
2023-02-28 22:29:57 +02:00
committed by Ruslan Kuprieiev
parent c0754ee5b3
commit c6015a05a3
+1 -1
View File
@@ -24,7 +24,7 @@ def _save_experiment(
name: Optional[str],
include_untracked: Optional[List[str]],
) -> str:
repo.commit([], force=True)
repo.commit([], force=True, relink=False)
name = name or get_random_exp_name(repo.scm, baseline_rev)
ref_info = ExpRefInfo(baseline_rev, name)