mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 23:09:44 +01:00
repository_change: skip .dvc when collecting timestamps
Fixes #277 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -116,7 +116,10 @@ class RepositoryChange(object):
|
||||
|
||||
def data_file_timesteps(self):
|
||||
res = set()
|
||||
for root, dirs, files in os.walk('.'):
|
||||
for root, dirs, files in os.walk(self._settings.git.git_dir_abs):
|
||||
if root.startswith(os.path.join(self._settings.git.git_dir_abs, ConfigI.CONFIG_DIR)):
|
||||
continue
|
||||
|
||||
for file in files:
|
||||
filename = os.path.join(root, file)
|
||||
if os.path.exists(filename):
|
||||
|
||||
Reference in New Issue
Block a user