diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-01 18:32:01 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-03 13:08:25 -0800 |
commit | 13a8bc924c16865a5409fa34994ec3bb11e1c4b5 (patch) | |
tree | b4908b0ad01a338f8b4569c8ccc06556d816b955 /tests/resources/generate_crlf.sh | |
parent | 788fccc40b28cea2e15bb7a0cafc706bb86d13c1 (diff) | |
download | libgit2-13a8bc924c16865a5409fa34994ec3bb11e1c4b5.tar.gz |
crlf_data: move to a "to_workdir" folder
Move the crlf_data folders reponsible for holding the state of the
filters going into the working directory to "to_workdir" variations of
the folder name to accommodate future growth into the "to odb" filter
variation. Update the script to create these new folders as appopriate.
Diffstat (limited to 'tests/resources/generate_crlf.sh')
-rwxr-xr-x | tests/resources/generate_crlf.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/resources/generate_crlf.sh b/tests/resources/generate_crlf.sh index 70534543f..9e6f51a5d 100755 --- a/tests/resources/generate_crlf.sh +++ b/tests/resources/generate_crlf.sh @@ -25,7 +25,7 @@ tempdir=$3 set -u -create_repo() { +create_to_workdir_data() { local input=$1 local output=$2 local tempdir=$3 @@ -33,7 +33,7 @@ create_repo() { local autocrlf=$5 local attr=$6 - local worktree="${output}/${systype}/autocrlf_${autocrlf}" + local worktree="${output}/${systype}_to_workdir/autocrlf_${autocrlf}" if [ "$attr" != "" ]; then local attrdir=`echo $attr | sed -e "s/ /,/g" | sed -e "s/=/_/g"` @@ -78,7 +78,7 @@ for autocrlf in true false input; do "text eol=lf" "text eol=crlf" \ "text=auto eol=lf" "text=auto eol=crlf"; do - create_repo "${input}" "${output}" "${tempdir}" \ + create_to_workdir_data "${input}" "${output}" "${tempdir}" \ "${systype}" "${autocrlf}" "${attr}" done done |