Torsten Bögershausen 577f287cb3 t0027: support NATIVE_CRLF platforms
t0027 expects the native end-of-lines to be a single line feed
character.  On Windows, however, we set it to a carriage return
character followed by a line feed character.  Thus, we have to
modify t0027 to expect different warnings depending on the
end-of-line markers.

Adjust the check of the warnings and use these macros:

  WILC:  Warn if LF becomes CRLF
  WICL:  Warn if CRLF becomes LF
  WAMIX: Mixed line endings: either CRLF->LF or LF->CRLF

Improve the information given by check_warning().

Use test_cmp to show which warning is missing (or shouldn't be
there).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2015-07-01 05:28:39 +01:00
2015-06-17 10:25:52 +02:00
2015-06-17 10:25:51 +02:00
2015-06-17 10:25:50 +02:00
2015-07-01 05:28:39 +01:00
2015-01-14 09:32:04 -08:00
2015-03-17 16:01:27 -07:00
2015-01-14 09:32:04 -08:00
2015-03-10 20:53:52 -07:00
2015-06-17 10:21:47 +02:00
2015-06-16 14:33:47 -07:00
2015-06-17 10:21:47 +02:00
2015-02-11 13:39:44 -08:00
2015-02-26 20:19:21 +00:00
2015-06-16 14:38:01 -07:00
2015-03-27 13:02:32 -07:00
2015-06-17 10:25:52 +02:00
2015-06-17 10:25:53 +02:00
2015-03-23 11:12:58 -07:00
2015-06-16 14:38:01 -07:00
2015-02-11 13:44:07 -08:00
2015-02-11 13:44:07 -08:00
2015-03-22 21:39:18 -07:00
2015-01-07 19:56:44 -08:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

This project is run by a governance model. If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
A fork of Git containing Windows-specific patches.
Readme 479 MiB
2025-08-19 03:50:05 -05:00
Languages
C 51.7%
Shell 37.5%
Perl 4.3%
Tcl 3%
Python 0.8%
Other 2.5%