1. 09 Jan, 2015 1 commit
  2. 05 Jan, 2015 2 commits
  3. 27 Dec, 2014 3 commits
    • ignore: don't leak rules into higher directories · 4f2d272f
      A rule "src" in src/.gitignore must only match subdirectories of
      src/. The current code does not include this context in the match rule
      and would thus consider this rule to match the top-level src/ directory
      instead of the intended src/src/.
      
      Keep track fo the context in which the rule was defined so we can
      perform a prefix match.
      Carlos Martín Nieto committed
    • ignore: match git's rule negation rules · 8fce79b3
      A rule can only negate something which was explicitly mentioned in the
      rules before it. Change our parsing to ignore a negative rule which does
      not negate something mentioned in the rules above it.
      
      While here, fix a wrong allocator usage. The memory for the match string
      comes from pool allocator. We must not free it with the general
      allocator. We can instead simply forget the string and it will be
      cleaned up.
      Carlos Martín Nieto committed
    • ignore: adjust test for negating inside a dir · f888185f
      Given
      
          top
          !top/foo
      
      in an ignore file, we should not unignore top/foo. This is an
      implementation detail of the git code leaking, but that's the behaviour
      we should show.
      
      A negation rule can only negate an exact rule it has seen before.
      Carlos Martín Nieto committed
  4. 21 Dec, 2014 2 commits
  5. 20 Dec, 2014 3 commits
  6. 18 Dec, 2014 3 commits
  7. 17 Dec, 2014 11 commits
  8. 10 Dec, 2014 1 commit
  9. 25 Nov, 2014 2 commits
  10. 03 Nov, 2014 1 commit
  11. 27 Oct, 2014 2 commits
  12. 26 Oct, 2014 1 commit
  13. 25 Oct, 2014 8 commits