chore: remove unused import, clarify .gitignore comment

Drop the unused GitChanges import in api.py. Expand the .gitignore
comment on .contextzip/ to note it's project-local and that the
Gemini API key is never stored there.
This commit is contained in:
akadeepesh
2026-08-26 01:04:31 +05:30
parent b9ae0a40c3
commit beb995cbda
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -36,6 +36,12 @@ desktop.ini
# contextzip output files (don't commit test zips)
*_context_*.zip
# contextzip workspace
# contextzip workspace — inbox/output/backups live here, project-local,
# never meant to be committed (may contain manifests, backups of source
# files, and applied zips). Note: the Gemini API key is NOT here — it's
# stored outside the repo entirely, in the OS user-config dir
# (~/.config/contextzip/config.json on Linux/macOS), so it was never at
# risk from this file being missing.
.contextzip/
exports/
+1 -1
View File
@@ -47,7 +47,7 @@ from contextzip.filters import (
resolve_files,
resolve_files_from_git,
)
from contextzip.git import GitChanges, GitError, GitErrorKind, get_changed_files
from contextzip.git import GitError, GitErrorKind, get_changed_files
from contextzip.packager import PackageResult, create_zip_silent