view tests/latin-1-encoding @ 1092:3799bf885c1d

compat: use newer read_pkt_refs from dulwich if possible Beginning with dulwich 0.18, it now supports reporting the symrefs so we no longer need to monkey patch (will require future patches to use the new code, though).
author Sean Farley <sean@farley.io>
date Mon, 27 Nov 2017 17:45:51 -0500
parents 24d4741674a6
children
line wrap: on
line source

# -*- coding: latin-1 -*-

# this file contains some latin-1 messages for test-encoding

GIT_AUTHOR_NAME='t�st �nc�d�ng'; export GIT_AUTHOR_NAME
echo beta > beta
git add beta
fn_git_commit -m 'add beta'

echo gamma > gamma
git add gamma
fn_git_commit -m 'add g�mm�'

# test the commit encoding field
git config i18n.commitencoding latin-1
echo delta > delta
git add delta
fn_git_commit -m 'add d�lt�'