Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
list-files
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dom Sekotill
list-files
Commits
eec908f0
Commit
eec908f0
authored
8 years ago
by
Dom Sekotill
Browse files
Options
Downloads
Patches
Plain Diff
Log loaded git ignore files as INFO
parent
7fb5d777
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
list_files/loaders/git.py
+3
-1
3 additions, 1 deletion
list_files/loaders/git.py
with
3 additions
and
1 deletion
list_files/loaders/git.py
+
3
−
1
View file @
eec908f0
from
os
import
path
,
environ
from
configparser
import
ConfigParser
,
NoOptionError
,
NoSectionError
from
..
import
loaders
,
patterns
,
rules
,
walk
,
util
from
..
import
logger
,
loaders
,
patterns
,
rules
,
walk
,
util
GIT_REPO
=
'
.git
'
...
...
@@ -141,3 +141,5 @@ class GitLoader(loaders.Loader):
excl_rules
.
extend
(
all_excl_rules
[
1
:])
incl_rules
.
extend
(
all_incl_rules
[
1
:])
self
.
__rules
=
excl_rules
,
incl_rules
logger
.
info
(
"
Loaded git ignore patterns: %s
"
,
fullpath
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment