5.1 Correct EOL-format history change

As part of the files that make up this book, there must be a script called correct_eol.sh. This script assumes you need to correct the EOL-format of a set of files on a straight branch, in other words, a branch that has no merges, only revisions one after the other.

When calling the script you need to provide:

The script will basically rewrite history of the branch (starting on the last revision with the correct EOL-format) making sure to use the original EOL-format on each one of the files that were provided as arguments on each one of the subsequent revisions.

Link to the file: correct_eol.sh Copyright 2020 Edmundo Carmona Antoranz