]> git.ipfire.org Git - thirdparty/git.git/commit
t0028: extract encoding helpers to lib-encoding.sh
authorMatheus Tavares <matheus.bernardino@usp.br>
Tue, 4 May 2021 16:27:33 +0000 (13:27 -0300)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 May 2021 03:26:36 +0000 (12:26 +0900)
commit2fa3cbadcdc63c3a723c2fd490f1d84552854bee
tree877a4d690e319356a223f203b3eb283b4b519e6e
parent6a7bc9d11823239183dd5f6547b13824a6a15fc2
t0028: extract encoding helpers to lib-encoding.sh

The following patch will add tests outside t0028 which will also need to
re-encode some strings. Extract the auxiliary encoding functions from
t0028 to a common lib file so that they can be reused.

Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-encoding.sh [new file with mode: 0644]
t/t0028-working-tree-encoding.sh