libgit2/tests/refs
Russell Belfer 43a0413524 Pass unconverted data when iconv doesn't like it
When using Iconv to convert unicode data and iconv doesn't like
the source data (because it thinks that it's not actual UTF-8),
instead of stopping the operation, just use the unconverted data.
This will generally do the right thing on the filesystem, since
that is the source of the non-UTF-8 path data anyhow.

This adds some tests for creating and looking up branches with
messy Unicode names.  Also, this takes the helper function that
was previously internal to `git_repository_init` and makes it
into `git_path_does_fs_decompose_unicode` which is a useful in
tests to understand what the expected results should be.
2014-05-08 13:52:46 -07:00
..
branches Pass unconverted data when iconv doesn't like it 2014-05-08 13:52:46 -07:00
reflog reflog: follow core.logallrefupdates 2014-03-20 19:18:49 +01:00
crashes.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
create.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
createwithlog.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
delete.c refs: add an unconditional delete 2014-02-05 12:07:57 +01:00
foreachglob.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
isvalidname.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
iterator.c More tests of canceling from callbacks 2013-12-12 11:14:51 -08:00
list.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
listall.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
lookup.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
normalize.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
overwrite.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
pack.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
peel.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
races.c refs: move current_id before the reflog parameters 2014-02-10 14:52:28 +01:00
read.c Add git_reference_is_note. 2014-02-02 18:20:38 +01:00
ref_helpers.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
ref_helpers.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
rename.c Enhance testing of signature parameters 2014-01-30 15:53:52 -08:00
revparse.c Ensure renaming a reference updates the reflog 2014-01-30 15:52:13 -08:00
settargetwithlog.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
setter.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
shorthand.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
unicode.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00
update.c refs: remove the _with_log differentiation 2014-01-15 13:32:43 +01:00