Skip to content

docs(TODO): record #120 - respect .gitkeep in gitignore handling [DISCUSS] - #287

Merged
helly25 merged 1 commit into
mainfrom
docs/todo-gitkeep
Jul 7, 2026
Merged

docs(TODO): record #120 - respect .gitkeep in gitignore handling [DISCUSS]#287
helly25 merged 1 commit into
mainfrom
docs/todo-gitkeep

Conversation

@helly25

@helly25 helly25 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Captures a new backlog item (#120): respect .gitkeep files when xff handles .gitignore (extends the ignore family #80/#95).

Open question recorded: respect .gitkeep always whenever .gitignore is active, or only in an advanced gitignore mode? .gitkeep is a pure convention (git itself has no notion of it) for keeping an otherwise-empty directory, so the concrete semantics need pinning first (e.g. don't prune/hide a directory whose only content is a .gitkeep; treat it as a keep signal). Note xff already honors an explicit !.gitkeep negation - this is about implicit handling.

Leaning always-on (ubiquitous convention, no downside), but the semantics get decided before building. Docs-only.

…CUSS]

Open question captured: respect .gitkeep always when .gitignore is active, or
only in an advanced gitignore mode? .gitkeep is a pure convention, so the
concrete semantics (don't prune/hide a dir whose only content is .gitkeep, etc.)
need pinning first; leaning always-on since it's a ubiquitous convention. Note
xff already honors an explicit !.gitkeep negation.
@helly25
helly25 enabled auto-merge (squash) July 7, 2026 07:37
@helly25
helly25 merged commit cefb207 into main Jul 7, 2026
14 of 16 checks passed
@helly25
helly25 deleted the docs/todo-gitkeep branch July 7, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant