1. 13 Aug, 2013 1 commit
  2. 12 Aug, 2013 2 commits
  3. 08 Aug, 2013 4 commits
  4. 07 Aug, 2013 1 commit
  5. 09 Jul, 2013 1 commit
  6. 07 May, 2013 2 commits
  7. 21 Apr, 2013 1 commit
  8. 20 Apr, 2013 1 commit
  9. 09 Mar, 2013 1 commit
  10. 29 Jan, 2013 1 commit
  11. 25 Jan, 2013 2 commits
  12. 06 Jan, 2013 1 commit
  13. 03 Jan, 2013 3 commits
  14. 05 Dec, 2012 1 commit
  15. 30 Nov, 2012 1 commit
  16. 27 Nov, 2012 1 commit
  17. 18 Nov, 2012 2 commits
  18. 13 Nov, 2012 4 commits
  19. 09 Nov, 2012 2 commits
  20. 30 Oct, 2012 1 commit
    • Add git_config_refresh() API to reload config · 744cc03e
      This adds a new API that allows users to reload the config if the
      file has changed on disk.  A new config callback function to
      refresh the config was added.
      
      The modified time and file size are used to test if the file needs
      to be reloaded (and are now stored in the disk backend object).
      
      In writing tests, just using mtime was a problem / race, so I
      wanted to check file size as well.  To support that, I extended
      `git_futils_readbuffer_updated` to optionally check file size in
      addition to mtime, and I added a new function `git_filebuf_stats`
      to fetch the mtime and size for an open filebuf (so that the
      config could be easily refreshed after a write).
      
      Lastly, I moved some similar file checking code for attributes
      into filebuf.  It is still only being used for attrs, but it
      seems potentially reusable, so I thought I'd move it over.
      Russell Belfer committed
  21. 25 Oct, 2012 2 commits
  22. 23 Oct, 2012 2 commits
  23. 12 Aug, 2012 1 commit
  24. 04 Aug, 2012 1 commit
    • 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
  25. 21 Jul, 2012 1 commit