t3900: demonstrate git-rebase problem with multi encoding
authorDoan Tran Cong Danh <redacted>
Fri, 8 Nov 2019 09:43:45 +0000 (16:43 +0700)
committerJunio C Hamano <redacted>
Mon, 11 Nov 2019 00:43:47 +0000 (09:43 +0900)
commite4b95b3b5fb36bfa3db4408dd469a123c6efc51f
tree35c3190c5ae3c1831ee6bce32c6027ee8e141fd1
parent1ba6e7aecdd2c72df1b0da7a89502e82485f7819
t3900: demonstrate git-rebase problem with multi encoding

We're using fixup!/squash! <subject> to mark if current commit will be
used to be fixed up or squashed to a previous commit.

However, if we're changing i18n.commitencoding after making the
original commit but before making the fixing up, we couldn't find the
original commit to do the fixup/squash.

Add a test to demonstrate that problem.

Helped-by: Jeff King <redacted>
Signed-off-by: Doan Tran Cong Danh <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3900-i18n-commit.sh
git clone https://git.99rst.org/PROJECT