1. 11 Dec, 2013 4 commits
    • Improve GIT_EUSER handling · 96869a4e
      This adds giterr_user_cancel to return GIT_EUSER and clear any
      error message that is sitting around.  As a result of using that
      in places, we need to be more thorough with capturing errors that
      happen inside a callback when used internally.  To help with that,
      this also adds giterr_capture and giterr_restore so that when we
      internally use a foreach-type function that clears errors and
      converts them to GIT_EUSER, it is easier to restore not just the
      return value, but the actual error message text.
      Russell Belfer committed
    • Add config read fns with controlled error behavior · 9f77b3f6
      This adds `git_config__lookup_entry` which will look up a key in
      a config and return either the entry or NULL if the key was not
      present.  Optionally, it can either suppress all errors or can
      return them (although not finding the key is not an error for this
      function).  Unlike other accessors, this does not normalize the
      config key string, so it must only be used when the key is known
      to be in normalized form (i.e. all lower-case before the first dot
      and after the last dot, with no invalid characters).
      
      This also adds three high-level helper functions to look up config
      values with no errors and a fallback value.  The three functions
      are for string, bool, and int values, and will resort to the
      fallback value for any error that arises.  They are:
      
      * `git_config__get_string_force`
      * `git_config__get_bool_force`
      * `git_config__get_int_force`
      
      None of them normalize the config `key` either, so they can only
      be used for internal cases where the key is known to be in normal
      format.
      Russell Belfer committed
    • Merge pull request #1985 from libgit2/diff-rename-config · 0eedacb0
      Rename detection using diff.renames
      Russell Belfer committed
    • Check version earlier · 5a52d6be
      Ben Straub committed
  2. 09 Dec, 2013 2 commits
  3. 08 Dec, 2013 4 commits
  4. 06 Dec, 2013 5 commits
  5. 05 Dec, 2013 5 commits
  6. 03 Dec, 2013 9 commits
  7. 02 Dec, 2013 8 commits
  8. 01 Dec, 2013 2 commits
  9. 27 Nov, 2013 1 commit