Skip to content

Commit

Permalink
Merge pull request #1043 from carmenbianca/fix-gitkeep
Browse files Browse the repository at this point in the history
Remove .gitkeep from ignored list
  • Loading branch information
carmenbianca authored Jul 8, 2024
2 parents cc63716 + f33aa58 commit f3c2959
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.d/changed/remove-gitkeep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- `.gitkeep` is no longer ignored, because this is not defined in the
specification. However, if `.gitkeep` is a 0-size file, it will remain ignored
(because 0-size files are ignored). (#1043)
1 change: 0 additions & 1 deletion src/reuse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
re.compile(r"^COPYING(\..*)?$"),
# ".git" as file happens in submodules
re.compile(r"^\.git$"),
re.compile(r"^\.gitkeep$"),
re.compile(r"^\.hgtags$"),
re.compile(r".*\.license$"),
# Workaround for https://github.com/fsfe/reuse-tool/issues/229
Expand Down

0 comments on commit f3c2959

Please sign in to comment.