1. 30 Dec, 2011 1 commit
  2. 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
  3. 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
  4. 18 Dec, 2011 2 commits
  5. 16 Dec, 2011 3 commits
  6. 15 Dec, 2011 2 commits
  7. 14 Dec, 2011 9 commits
  8. 09 Dec, 2011 1 commit
  9. 08 Dec, 2011 1 commit
    • Use git_buf for path storage instead of stack-based buffers · 97769280
      This converts virtually all of the places that allocate GIT_PATH_MAX
      buffers on the stack for manipulating paths to use git_buf objects
      instead.  The patch is pretty careful not to touch the public API
      for libgit2, so there are a few places that still use GIT_PATH_MAX.
      
      This extends and changes some details of the git_buf implementation
      to add a couple of extra functions and to make error handling easier.
      
      This includes serious alterations to all the path.c functions, and
      several of the fileops.c ones, too.  Also, there are a number of new
      functions that parallel existing ones except that use a git_buf
      instead of a stack-based buffer (such as git_config_find_global_r
      that exists alongsize git_config_find_global).
      
      This also modifies the win32 version of p_realpath to allocate whatever
      buffer size is needed to accommodate the realpath instead of hardcoding
      a GIT_PATH_MAX limit, but that change needs to be tested still.
      Russell Belfer committed
  10. 04 Dec, 2011 1 commit
  11. 03 Dec, 2011 3 commits
    • tree: recursive diff-index · e9238687
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Signed-off-by: Vicent Marti <tanoku@gmail.com>
      
      # Please enter the commit message for your changes. Lines starting
      # with '#' will be ignored, and an empty message aborts the commit.
      #
      # Author:    Carlos Martín Nieto <carlos@cmartin.tk>
      #
      # On branch development
      # Your branch is ahead of 'origin/development' by 11 commits.
      #
      # Changes to be committed:
      #   (use "git reset HEAD^1 <file>..." to unstage)
      #
      #	modified:   include/git2/tree.h
      #	modified:   src/tree.c
      #	modified:   tests-clay/clay_main.c
      #	modified:   tests-clay/object/tree/diff.c
      #
      # Untracked files:
      #   (use "git add <file>..." to include in what will be committed)
      #
      #	0001-remote-Cleanup-the-remotes-code.patch
      #	466.patch
      #	466.patch.1
      #	488.patch
      #	Makefile
      #	libgit2.0.15.0.dylib
      #	libgit2.0.dylib
      #	libgit2.dylib
      #	libgit2_clay
      #	libgit2_test
      #	tests-clay/object/tree/
      Vicent Marti committed
    • clay: add tests for tree diff'ing · b4d757c0
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Signed-off-by: Vicent Marti <tanoku@gmail.com>
      Carlos Martín Nieto committed
    • tree: implement tree diffing · a1fdea28
      For each difference in the trees, the callback gets called with the
      relevant information so the user can fill in their own data
      structures.
      
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Carlos Martín Nieto committed
  12. 01 Dec, 2011 2 commits
  13. 30 Nov, 2011 6 commits
  14. 29 Nov, 2011 5 commits
  15. 28 Nov, 2011 2 commits