1. 02 Mar, 2012 1 commit
  2. 17 Feb, 2012 2 commits
  3. 01 Feb, 2012 1 commit
  4. 17 Jan, 2012 1 commit
    • Fix handling of relative paths for attrs · a51cd8e6
      Per issue #533, the handling of relative paths in attribute
      and ignore files was not right.  Fixed this by pre-joining
      the relative path of the attribute/ignore file onto the match
      string when a full path match is required.
      
      Unfortunately, fixing this required a bit more code than I
      would have liked because I had to juggle things around so that
      the fnmatch parser would have sufficient information to prepend
      the relative path when it was needed.
      Russell Belfer committed
  5. 12 Jan, 2012 1 commit
  6. 11 Jan, 2012 1 commit
    • Initial implementation of gitignore support · df743c7d
      Adds support for .gitignore files to git_status_foreach() and
      git_status_file().  This includes refactoring the gitattributes
      code to share logic where possible.  The GIT_STATUS_IGNORED flag
      will now be passed in for files that are ignored (provided they
      are not already in the index or the head of repo).
      Russell Belfer committed
  7. 30 Dec, 2011 1 commit
    • Improved gitattributes macro implementation · bd370b14
      This updates to implementation of gitattribute macros to be much more
      similar to core git (albeit not 100%) and to handle expansion of
      macros within macros, etc.  It also cleans up the refcounting usage
      with macros to be much cleaner.
      
      Also, this adds a new vector function `git_vector_insert_sorted()`
      which allows you to maintain a sorted list as you go.  In order to
      write that function, this changes the function `git__bsearch()` to
      take a somewhat different set of parameters, although the core
      functionality is still the same.
      Russell Belfer committed
  8. 29 Dec, 2011 1 commit
    • Add support for macros and cache flush API. · 73b51450
      Add support for git attribute macro definitions.  Also, add
      support for cache flush API to clear the attribute file content
      cache when needed.
      
      Additionally, improved the handling of global and system files,
      making common utility functions in fileops and converting config
      and attr to both use the common functions.
      
      Adds a bunch more tests and fixed some memory leaks.  Note that
      adding macros required me to use refcounted attribute assignment
      definitions, which complicated, but probably improved memory usage.
      Russell Belfer committed
  9. 21 Dec, 2011 1 commit
    • Add APIs for git attributes · ee1f0b1a
      This adds APIs for querying git attributes.  In addition to
      the new API in include/git2/attr.h, most of the action is in
      src/attr_file.[hc] which contains utilities for dealing with
      a single attributes file, and src/attr.[hc] which contains
      the implementation of the APIs that merge all applicable
      attributes files.
      Russell Belfer committed
  10. 26 Nov, 2011 1 commit
  11. 29 Oct, 2011 1 commit
  12. 13 Oct, 2011 1 commit
  13. 12 Oct, 2011 2 commits
  14. 01 Oct, 2011 1 commit
  15. 22 Sep, 2011 1 commit
  16. 14 Sep, 2011 1 commit
  17. 09 Jul, 2011 3 commits
  18. 05 Jul, 2011 2 commits
  19. 26 Jun, 2011 1 commit
  20. 17 Jun, 2011 2 commits
  21. 14 Jun, 2011 1 commit
  22. 07 Jun, 2011 2 commits
  23. 04 Jun, 2011 1 commit
  24. 31 May, 2011 3 commits
  25. 19 Apr, 2011 1 commit
  26. 11 Apr, 2011 1 commit
  27. 08 Apr, 2011 2 commits
  28. 04 Apr, 2011 3 commits