Skip to content

issues Search Results · repo:denormal/go-gitignore language:Go

Filter by

6 results
 (57 ms)

6 results

indenormal/go-gitignore (press backspace or delete to remove)

Description The project doesn t ignore the trailing space after the line with negation. Reproduction main.go package main import ( fmt log os path/filepath strings github.com/denormal/go-gitignore ...
  • zzjc1234
  • 1
  • Opened 
    on Jan 26
  • #9

Given the similarity in parsing rules for gitignore files CODEOWNERS files, it would be great if this library added support for parsing CODEOWNERS files as well. I am unable to find a Go implementation ...
  • lollipopman
  • Opened 
    on Feb 26, 2021
  • #6

It seems this library is leaking file handles here, as I can t find the associated Close call to this os.Open: https://github.com/denormal/go-gitignore/blob/master/gitignore.go#L146
  • muesli
  • Opened 
    on Aug 22, 2020
  • #5

https://github.com/denormal/go-gitignore/blob/ae8ad1d07817b3d3b49cabb21559a3f493a357a3/gitignore.go#L250-L252 When the Match logic tries to resolve a relative path from 2 paths (eg. basepath, fullpath), ...
  • amarshat
  • 1
  • Opened 
    on Feb 26, 2019
  • #3

Hi, just ran into a bug where lines that only contain whitespace cause a panic in the parser. This is quite a tricky one to diagnose because such lines are very hard to spot. Reproduction: package main ...
  • bradleyjkemp
  • 2
  • Opened 
    on Sep 27, 2018
  • #2

For files like pre code . ├ foo │ └ bar │ └ some_file.txt └ bar └ other_file.txt /pre /code When I ignore: bar/** Both foo/bar/some_file.txt and bar/other_file.txt will be ignored. But for .gitignore, ...
  • littlebtc
  • 2
  • Opened 
    on Feb 7, 2018
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub