1. 20 Jun, 2012 4 commits
  2. 14 Jun, 2012 5 commits
  3. 13 Jun, 2012 7 commits
  4. 12 Jun, 2012 6 commits
  5. 11 Jun, 2012 4 commits
  6. 10 Jun, 2012 1 commit
  7. 09 Jun, 2012 9 commits
  8. 08 Jun, 2012 4 commits
    • Merge pull request #744 from arrbee/fix-filemodes · e0b110ed
      Fix filemode comparison in diffs
      Russell Belfer committed
    • Better fix for isalpha in drive letter detection · ac971ecf
      Missed a place that used this and missed git__isalpha
      Russell Belfer committed
    • isalpha is not great for UTF-8 · d17db71b
      When checking for a drive letter on windows, instead of using
      isalpha(), it is better to just check for a..z and A..Z, I think,
      particularly because the MS isalpha implementation appears to
      assert when given an 0xFF byte.
      Russell Belfer committed
    • Minor fixes, cleanups, and clarifications · 145e696b
      There are three actual changes in this commit:
      
      1. When the trailing newline of a file is removed in a diff, the
         change will now be reported with `GIT_DIFF_LINE_DEL_EOFNL` passed
         to the callback.  Previously, the `ADD_EOFNL` constant was given
         which was just an error in my understanding of when the various
         circumstances arose.  `GIT_DIFF_LINE_ADD_EOFNL` is deprecated and
         should never be generated.  A new newline is simply an `ADD`.
      2. Rewrote the `diff_delta__merge_like_cgit` function that contains
         the core logic of the `git_diff_merge` implementation.  The new
         version doesn't actually have significantly different behavior,
         but the logic should be much more obvious, I think.
      3. Fixed a bug in `git_diff_merge` where it freed a string pool
         while some of the string data was still in use.  This led to
         `git_diff_print_patch` accessing memory that had been freed.
      
      The rest of this commit contains improved documentation in `diff.h`
      to make the behavior and the equivalencies with core git clearer,
      and a bunch of new tests to cover the various cases, oh and a minor
      simplification of `examples/diff.c`.
      Russell Belfer committed