1. 27 6月, 2008 4 次提交
  2. 17 6月, 2008 2 次提交
    • J
      4afbcab9
    • S
      diff: reset color before printing newline · 06ff64ae
      SZEDER Gábor 提交于
      It worked that way since commit 50f575fc (Tweak diff colors,
      2006-06-22), but commit c1795bb0 (Unify whitespace checking, 2007-12-13)
      changed it.  This patch restores the old behaviour.
      
      Besides Linus' arguments in the log message of 50f575fc, resetting color
      before printing newline is also important to keep 'git add --patch'
      happy.  If the last line(s) of a file are removed, then that hunk will
      end with a colored line.  However, if the newline comes before the color
      reset, then the diff output will have an additional line at the end
      containing only the reset sequence.  This causes trouble in
      git-add--interactive.perl's parse_diff function, because @colored will
      have one more element than @diff, and that last element will contain the
      color reset.  The elements of these arrays will then be copied to @hunk,
      but only as many as the number of elements in @diff.  As a result the
      last color reset is lost and all subsequent terminal output will be
      printed in color.
      Signed-off-by: NSZEDER Gábor <szeder@ira.uka.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      06ff64ae
  3. 12 6月, 2008 1 次提交
  4. 10 6月, 2008 1 次提交
  5. 09 6月, 2008 1 次提交
  6. 08 6月, 2008 1 次提交
  7. 06 6月, 2008 2 次提交
  8. 05 6月, 2008 1 次提交
  9. 28 5月, 2008 5 次提交
  10. 27 5月, 2008 3 次提交
  11. 26 5月, 2008 5 次提交
  12. 24 5月, 2008 2 次提交
  13. 23 5月, 2008 3 次提交
  14. 22 5月, 2008 4 次提交
  15. 20 5月, 2008 2 次提交
  16. 17 5月, 2008 1 次提交
  17. 15 5月, 2008 2 次提交