GithubHelp home page GithubHelp logo

issue with negates pattern about igittigitt HOT 3 OPEN

bitranox avatar bitranox commented on September 26, 2024 1
issue with negates pattern

from igittigitt.

Comments (3)

bitranox avatar bitranox commented on September 26, 2024

interesting. I will look after it, but it will take some (longer) time.
thank You for the bug report !

from igittigitt.

penja avatar penja commented on September 26, 2024

I guess that problem here https://github.com/bitranox/igittigitt/blob/master/igittigitt/igittigitt.py#L311 The value returned based first matched rule and other rules don't take into consideration

Thank you for the answer and future fix.

from igittigitt.

bitranox avatar bitranox commented on September 26, 2024

unfortunately You are absolutely right - and this is not the only problem.
basically the handling of multiple ignore files, precedence levels and so on, is just very wrong in igittigitt.
It is not that difficult to fix, but many parts needs to be plumbed together in a different way.

the documentation at https://git-scm.com/docs/gitignore#_pattern_format is not very accurate or complete - luckily I found some better explenation here :

see : struct_walker

I will put a comment in the readme about that issue in the meantime.

from igittigitt.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.