Allow non-ASCII ref names when writing the packed-refs file
commitcf6cec8c281fb419543f342b83abb266ade4e308
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 19 May 2009 23:13:16 +0000 (20 01:13 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 20 May 2009 22:17:24 +0000 (20 15:17 -0700)
tree48d419d829095b2b5fed192242b95070157b31dd
parentb5cf15023eb564f87b527e116497d3fc7c4d6139
Allow non-ASCII ref names when writing the packed-refs file

Previously we crashed. Now we encode using UTF-8. This may possibly
change the encoding in the packed-refs file as we try to be smart about
reading the file when converting to Java strings.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/RefWriter.java