Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bl_git/diffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ class DiffsMixin:
def _filter_changes(self, changes):
IGNORE_PATTERNS = [
"*.blend",
"*.blend1",
# Blender(by default) allows up to 32 incremental versions
"*.blend[0-9]",
"*.blend[0-9][0-9]",
CANONICAL_MANIFEST_REL,
]

Expand Down
2 changes: 1 addition & 1 deletion bl_git/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def _gitblocks_dirty_paths(self, dirty_paths):
return gitblocks_paths

def _blocking_dirty_paths(self, dirty_paths):
allowed_patterns = ["*.blend", "*.blend1"]
allowed_patterns = ["*.blend", "*.blend[0-9]", "*.blend[0-9][0-9]"] # Blender(by default) allows up to 32 incremental versions
gitblocks_paths = self._gitblocks_dirty_paths(dirty_paths)
blocking = set()
for path in dirty_paths or set():
Expand Down