1. 24 Aug, 2012 5 commits
  2. 23 Aug, 2012 1 commit
  3. 22 Aug, 2012 5 commits
    • Some cleanup suggested during review · 85bd1746
      This cleans up a number of items suggested during code review
      with @vmg, including:
      
      * renaming "outside repo" config API to `git_config_open_default`
      * killing the `git_config_open_global` API
      * removing the `git_` prefix from the static functions in fileops
      * removing some unnecessary functionality from the "cp" command
      Russell Belfer committed
    • Don't reference stack vars in cleanup callback · b769e936
      If you use the clar cleanup callback function, you can't pass a
      reference pointer to a stack allocated variable because when the
      cleanup function runs, the stack won't exist anymore.
      Russell Belfer committed
    • Add template dir and set gid to repo init · ca1b6e54
      This extends git_repository_init_ext further with support for
      initializing the repository from an external template directory
      and with support for the "create shared" type flags that make a
      set GID repository directory.
      
      This also adds tests for much of the new functionality to the
      existing `repo/init.c` test suite.
      
      Also, this adds a bunch of new utility functions including a
      very general purpose `git_futils_mkdir` (with the ability to
      make paths and to chmod the paths post-creation) and a file
      tree copying function `git_futils_cp_r`.  Also, this includes
      some new path functions that were useful to keep the code
      simple.
      Russell Belfer committed
    • Minor bug fixes in diff code · 5fdc41e7
      In looking at PR #878, I found a few small bugs in the diff code,
      mostly related to work that can be avoided when processing tree-
      to-tree diffs that was always being carried out.  This commit has
      some small fixes in it.
      Russell Belfer committed
    • Wrap up ignore API and add tests · 2fb4e9b3
      This fills out the ignore API and adds tests.
      Russell Belfer committed
  4. 21 Aug, 2012 4 commits
  5. 19 Aug, 2012 2 commits
  6. 14 Aug, 2012 2 commits
  7. 12 Aug, 2012 2 commits
  8. 09 Aug, 2012 2 commits
  9. 06 Aug, 2012 2 commits
  10. 04 Aug, 2012 2 commits
    • Add new iteration behavior to git_tree_walk · b0d37669
      Missed this one, ironically enough.
      Russell Belfer committed
    • Update iterators for consistency across library · 5dca2010
      This updates all the `foreach()` type functions across the library
      that take callbacks from the user to have a consistent behavior.
      The rules are:
      
      * A callback terminates the loop by returning any non-zero value
      * Once the callback returns non-zero, it will not be called again
        (i.e. the loop stops all iteration regardless of state)
      * If the callback returns non-zero, the parent fn returns GIT_EUSER
      * Although the parent returns GIT_EUSER, no error will be set in
        the library and `giterr_last()` will return NULL if called.
      
      This commit makes those changes across the library and adds tests
      for most of the iteration APIs to make sure that they follow the
      above rules.
      Russell Belfer committed
  11. 01 Aug, 2012 2 commits
  12. 31 Jul, 2012 4 commits
  13. 30 Jul, 2012 1 commit
  14. 28 Jul, 2012 3 commits
  15. 27 Jul, 2012 3 commits