Skip to content

Commit c81f6c8

Browse files
committed
fix: Move codegen gitignore rules to conventional positions
CODEGEN.md moves to the top of the file. The codegen/lib/ negation moves next to the lib/ pattern it negates, since a gitignore negation only takes effect after the pattern it overrides. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019iX1vWXfXKzUyRJTVm8D7s
1 parent c992228 commit c81f6c8

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# For more details, visit the project page:
66
# https://github.com/github/gitignore
77

8+
# Codegen
9+
CODEGEN.md
10+
811
# Temporary development files
912
tmp
1013

@@ -28,6 +31,8 @@ downloads/
2831
eggs/
2932
.eggs/
3033
lib/
34+
# Negations must follow the pattern they negate, so this cannot move to the top
35+
!codegen/lib/
3136
lib64/
3237
parts/
3338
sdist/
@@ -325,7 +330,3 @@ dist
325330
# yalc
326331
.yalc/
327332
yalc.lock
328-
329-
# Codegen
330-
!codegen/lib/
331-
CODEGEN.md

0 commit comments

Comments
 (0)