Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Update deps/libgit2 submodule to include fix for ** in gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Sobo committed Jun 17, 2019
1 parent 7651345 commit 7aa4ed4
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 24 deletions.
8 changes: 4 additions & 4 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
'deps/libgit2/src/fileops.h',
'deps/libgit2/src/filter.c',
'deps/libgit2/src/filter.h',
'deps/libgit2/src/fnmatch.c',
'deps/libgit2/src/fnmatch.h',
'deps/libgit2/src/wildmatch.c',
'deps/libgit2/src/wildmatch.h',
'deps/libgit2/src/global.c',
'deps/libgit2/src/global.h',
'deps/libgit2/src/graph.c',
Expand Down Expand Up @@ -239,8 +239,8 @@
'deps/libgit2/src/stash.c',
'deps/libgit2/src/status.c',
'deps/libgit2/src/status.h',
'deps/libgit2/src/stdalloc.c',
'deps/libgit2/src/stdalloc.h',
'deps/libgit2/src/allocators/stdalloc.c',
'deps/libgit2/src/allocators/stdalloc.h',
'deps/libgit2/src/stream.h',
'deps/libgit2/src/strmap.c',
'deps/libgit2/src/strmap.h',
Expand Down
2 changes: 1 addition & 1 deletion deps/libgit2
Submodule libgit2 updated 2645 files
44 changes: 25 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions spec/fixtures/ignored.git/info/exclude
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
a.txt
**.foo
2 changes: 2 additions & 0 deletions spec/git-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ describe('git', () => {
repo = git.open(ignoreRepoDir)
expect(repo.isIgnored('a.txt')).toBe(true)
expect(repo.isIgnored('subdir/subdir')).toBe(true)
expect(repo.isIgnored('a.foo')).toBe(true)
expect(repo.isIgnored('subdir/a.foo')).toBe(true)
})
})

Expand Down

0 comments on commit 7aa4ed4

Please sign in to comment.