File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ This test data was generated using the `tests/resources/generate_crlf.sh`
2+ script. Please see that script for usage information.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ #
3+ # This script will generate the test corpus for CR/LF data using git;
4+ # we create files with all possible line ending varieties (all LF, all
5+ # CRLF, mixed, etc) on all the possible line ending configurations
6+ # (`core.autocrlf=true`, `text=auto` in gitattributes, etc). This
7+ # allows us to validate that our configuration will match byte-for-byte
8+ # the configuration that git produces.
9+ #
10+ # To update the test resource data, from the test resource directory:
11+ # git rm -r ./crlf_data
12+ # sh ./generate_crlf.sh ./crlf ./crlf_data /tmp/crlf_gitdirs
13+ # git add ./crlf_data
214
315set -e
416
You can’t perform that action at this time.
0 commit comments