Skip to content
Closed
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "claudesync"
version = "0.7.6"
version = "0.7.7"
authors = [
{name = "Jahziah Wagner", email = "540380+jahwag@users.noreply.github.com"},
]
Expand Down
6 changes: 3 additions & 3 deletions src/claudesync/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def load_gitignore(base_path):
gitignore_path = os.path.join(base_path, ".gitignore")
if os.path.exists(gitignore_path):
with open(gitignore_path, "r") as f:
return pathspec.PathSpec.from_lines("gitwildmatch", f)
return pathspec.PathSpec.from_lines("gitignore", f)
return None


Expand Down Expand Up @@ -201,7 +201,7 @@ def get_local_files(config, local_path, category=None, include_submodules=False)
if category:
patterns = categories[category]["patterns"]

spec = pathspec.PathSpec.from_lines("gitwildmatch", patterns)
spec = pathspec.PathSpec.from_lines("gitignore", patterns)

submodules = config.get("submodules", [])
submodule_paths = [sm["relative_path"] for sm in submodules]
Expand Down Expand Up @@ -366,7 +366,7 @@ def load_claudeignore(base_path):
claudeignore_path = os.path.join(base_path, ".claudeignore")
if os.path.exists(claudeignore_path):
with open(claudeignore_path, "r") as f:
return pathspec.PathSpec.from_lines("gitwildmatch", f)
return pathspec.PathSpec.from_lines("gitignore", f)
return None


Expand Down
Loading