1. 21 Oct, 2013 2 commits
    • Create git_diff_line and extend git_diff_hunk · 3b5f7954
      Instead of having functions with so very many parameters to pass
      hunk and line data, this takes the existing git_diff_hunk struct
      and extends it with more hunk data, plus adds a git_diff_line.
      Those structs are used to pass back hunk and line data instead of
      the old APIs that took tons of parameters.
      
      Some work that was previously only being done for git_diff_patch
      creation (scanning the diff content for exact line counts) is now
      done for all callbacks, but the performance difference should not
      be noticable.
      Russell Belfer committed
    • Tweak to git_diff_delta structure for nfiles · 74a627f0
      While the base git_diff_delta structure always contains two files,
      when we introduce conflict data, it will be helpful to have an
      indicator when an additional file is involved.
      Russell Belfer committed
  2. 15 Oct, 2013 1 commit
    • Diff API cleanup · 10672e3e
      This lays groundwork for separating formatting options from diff
      creation options.  This groups the formatting flags separately
      from the diff list creation flags and reorders the options.  This
      also tweaks some APIs to further separate code that uses patches
      from code that just looks at git_diffs.
      Russell Belfer committed
  3. 11 Oct, 2013 1 commit
  4. 09 Oct, 2013 2 commits
  5. 08 Oct, 2013 10 commits
    • Make reference lookups apply precomposeunicode · 92dac975
      Before these changes, looking up a reference would return the
      same precomposed or decomposed form of the reference name that
      was used to look it up, so on MacOS which ignores the difference
      between the two, a single reference could be looked up either way
      and git_reference_name would return the form of the name that was
      used to look it up!  This change makes lookup always return the
      precomposed name if core.precomposeunicode is set regardless of
      which version was used to look it up.  The reference iterator was
      already returning the precomposed form from earlier work.
      
      This also updates the CMakeLists.txt rules for enabling iconv
      usage because the clar tests for this code were actually not being
      activated properly with the old version.
      
      Finally, this moves git_repository_reset_filesystem from include/
      git2/repository.h to include/git2/sys/repository.h since it is not
      really a function that normal library users should have to think
      about very often.
      Russell Belfer committed
    • Merge pull request #1895 from libgit2/winhttp-accept · 062c95c2
      WinHTTP: set Accept header for POSTs
      Vicent Martí committed
    • Combine WinHTTP API calls · 3dc3c723
      Ben Straub committed
    • Case sensitivity issues on Linux · d5e83627
      A couple of tests were actually dealing incorrectly with case
      sensitivity issues on Linux because they were relying on having
      core.ignorecase set to true.  Now that the fixture initialization
      sets the case sensitivity to be accurate for the platform, it
      exposed bugs in these tests.
      Russell Belfer committed
    • Add Assembla unit test · 1fd21b03
      Ben Straub committed
    • More filemode cleanups for FAT on MacOS · 14997dc5
      This cleans up some additional issues.  The main change is that
      on a filesystem that doesn't support mode bits, libgit2 will now
      create new blobs with GIT_FILEMODE_BLOB always instead of being
      at the mercy to the filesystem driver to report executable or not.
      This means that if "core.filemode" lies and claims that filemode
      is not supported, then we will ignore the executable bit from the
      filesystem.  Previously we would have allowed it.
      
      This adds an option to the new git_repository_reset_filesystem to
      recurse through submodules if desired.  There may be other types
      of APIs that would like a "recurse submodules" option, but this
      one is particularly useful.
      
      This also has a number of cleanups, etc., for related things
      including trying to give better error messages when problems come
      up from the filesystem.  For example, the FAT filesystem driver on
      MacOS appears to return errno EINVAL if you attempt to write a
      filename with invalid UTF-8 in it.  We try to capture that with a
      better error message now.
      Russell Belfer committed
    • Merge pull request #1894 from libgit2/cmn/tree-raw · ca27ae48
      tree: allow retrieval of raw attributes
      Vicent Martí committed
    • tree: allow retrieval of raw attributes · 13f670a5
      When a tool needs to recreate the tree object (for example an
      interface to another VCS), it needs to use the raw attributes,
      forgoing any normalization.
      Carlos Martín Nieto committed
  6. 05 Oct, 2013 5 commits
  7. 04 Oct, 2013 5 commits
  8. 03 Oct, 2013 13 commits
  9. 02 Oct, 2013 1 commit