summaryrefslogtreecommitdiff
path: root/preload-index.c
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-01-20 13:15:36 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-24 19:32:35 -0800
commit0846b0c905a885720138e8194fb0289f121b5da1 (patch)
treeff187058986a7e7d1bdac6af207e16f20c2f7922 /preload-index.c
parentsvn-fe: allow svnrdump_sim.py to run with Python 3 (diff)
downloadtgif-0846b0c905a885720138e8194fb0289f121b5da1.tar.xz
git-remote-testpy: hash bytes explicitly
Under Python 3 'hasher.update(...)' must take a byte string and not a unicode string. Explicitly encode the argument to this method to hex bytes so that we don't need to worry about failures to encode that might occur if we chose a textual encoding. This changes the directory used by git-remote-testpy for its git mirror of the remote repository, but this tool should not have any serious users as it is used primarily to test the Python remote helper framework. The use of encode() moves the required Python version forward to 2.0. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'preload-index.c')
0 files changed, 0 insertions, 0 deletions