Skip to content

Commit

Permalink
Merge pull request #867 from Flameeyes/main
Browse files Browse the repository at this point in the history
Ignore .sl directory the same way as .hg.
  • Loading branch information
carmenbianca committed Nov 28, 2023
2 parents 87819e6 + 17dab3c commit b4b0465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ CLI command and its behaviour. There are no guarantees of stability for the
currently exits early. To automatically create a .license file for
unrecognised files, `--fallback-dot-license` has been added. (#823, #851,
#853, #859; this took a while to get right.)
- Ignore `.sl` directory as used by [Sapling SCM](https://sapling-scm.com/).
(#867)

### Changed

Expand Down
1 change: 1 addition & 0 deletions src/reuse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
_IGNORE_DIR_PATTERNS = [
re.compile(r"^\.git$"),
re.compile(r"^\.hg$"),
re.compile(r"^\.sl$"), # Used by Sapling SCM
re.compile(r"^LICENSES$"),
re.compile(r"^\.reuse$"),
]
Expand Down

0 comments on commit b4b0465

Please sign in to comment.