1. 28 4月, 2015 4 次提交
  2. 22 4月, 2015 10 次提交
  3. 15 4月, 2015 1 次提交
  4. 13 4月, 2015 1 次提交
  5. 09 4月, 2015 1 次提交
  6. 05 4月, 2015 1 次提交
    • K
      diff-highlight: do not split multibyte characters · 8d00662d
      Kyle J. McKay 提交于
      When the input is UTF-8 and Perl is operating on bytes instead of
      characters, a diff that changes one multibyte character to another
      that shares an initial byte sequence will result in a broken diff
      display as the common byte sequence prefix will be separated from
      the rest of the bytes in the multibyte character.
      
      For example, if a single line contains only the unicode character
      U+C9C4 (encoded as UTF-8 0xEC, 0xA7, 0x84) and that line is then
      changed to the unicode character U+C9C0 (encoded as UTF-8 0xEC,
      0xA7, 0x80), when operating on bytes diff-highlight will show only
      the single byte change from 0x84 to 0x80 thus creating invalid UTF-8
      and a broken diff display.
      
      Fix this by putting Perl into character mode when splitting the line
      and then back into byte mode after the split is finished.
      
      The utf8::xxx functions require Perl 5.8 so we require that as well.
      
      Also, since we are mucking with code in the split_line function, we
      change a '*' quantifier to a '+' quantifier when matching the $COLOR
      expression which has the side effect of speeding everything up while
      eliminating useless '' elements in the returned array.
      Reported-by: NYi EungJun <semtlenori@gmail.com>
      Signed-off-by: NKyle J. McKay <mackyle@gmail.com>
      Acked-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8d00662d
  7. 03 4月, 2015 1 次提交
  8. 02 4月, 2015 1 次提交
  9. 01 4月, 2015 7 次提交
  10. 31 3月, 2015 2 次提交
    • J
      cherry-pick: fix docs describing handling of empty commits · f907282f
      Jeff King 提交于
      Commit b27cfb0d (git-cherry-pick: Add keep-redundant-commits
      option, 2012-04-20), added the --keep-redundant-commits
      option, and switched the default behavior (without that
      option) to silently ignore empty commits. Later, the second
      half of that commit was reverted in ac2b0e8f (cherry-pick:
      regression fix for empty commits, 2012-05-29), but the
      documentation added for --keep-redundant-commits was never
      updated to match. Let's do so now.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f907282f
    • S
      docs: clarify what git-rebase's "-p" / "--preserve-merges" does · d50d31e8
      Sebastian Schuberth 提交于
      Ignoring a merge can be read as ignoring the changes a merge commit
      introduces altogether, as if the entire side branch the merge commit
      merged was removed from the history.  But that is not what happens
      if "-p" is not specified.  What happens is that the individual
      commits a merge commit introduces are replayed in order, and only
      any possible merge conflict resolutions or manual amendments to the
      merge commit are ignored.
      
      Get this straight in the docs.
      
      Also, do not say that merge commits are *tried* to be recreated. As that is
      true almost everywhere it is better left unsaid.
      Signed-off-by: NSebastian Schuberth <sschuberth@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d50d31e8
  11. 30 3月, 2015 1 次提交
  12. 29 3月, 2015 10 次提交