libgit2/src
Russell Belfer 92dac97586 Make reference lookups apply precomposeunicode
Before these changes, looking up a reference would return the
same precomposed or decomposed form of the reference name that
was used to look it up, so on MacOS which ignores the difference
between the two, a single reference could be looked up either way
and git_reference_name would return the form of the name that was
used to look it up!  This change makes lookup always return the
precomposed name if core.precomposeunicode is set regardless of
which version was used to look it up.  The reference iterator was
already returning the precomposed form from earlier work.

This also updates the CMakeLists.txt rules for enabling iconv
usage because the clar tests for this code were actually not being
activated properly with the old version.

Finally, this moves git_repository_reset_filesystem from include/
git2/repository.h to include/git2/sys/repository.h since it is not
really a function that normal library users should have to think
about very often.
2013-10-08 16:35:57 -07:00
..
amiga Added missing curly brackets and fixed compiler warnings. 2013-01-10 09:16:14 +01:00
hash Add simple global shutdown hooks 2013-09-17 09:31:45 -07:00
transports Style tweaks and changes for code review feedback 2013-10-03 09:51:21 -04:00
unix Add missing prototype for p_realpath(). 2013-04-22 00:13:35 +02:00
win32 More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
xdiff Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
array.h Bug fixes and cleanups 2013-09-17 09:31:46 -07:00
attr_file.c Fix warning 2013-09-19 23:14:06 +08:00
attr_file.h Revert PR #1462 and provide alternative fix 2013-08-09 10:52:35 -07:00
attr.c Add attributes to filters and fix registry 2013-09-17 09:31:44 -07:00
attr.h Implement global/system file search paths 2013-03-15 16:39:00 -07:00
attrcache.h Add ~ expansion to global attributes and excludes 2013-05-24 11:09:04 -07:00
bitvec.h bitvec: Simplify the bit vector code 2013-07-10 21:05:47 +02:00
blob.c Merge git_buf and git_buffer 2013-09-17 09:31:45 -07:00
blob.h Fix rename detection to use actual blob size 2013-07-25 12:27:39 -07:00
branch.c No such thing as an orphan branch 2013-09-17 09:50:30 +02:00
branch.h branch: rename 'tracking' to 'upstream' 2013-03-30 15:45:57 +01:00
bswap.h update copyrights 2013-01-08 17:31:27 -06:00
buf_text.c Fix longstanding valgrind warning 2013-09-17 09:31:44 -07:00
buf_text.h Start of filter API + git_blob_filtered_content 2013-09-17 09:30:06 -07:00
buffer.c Clean up unnecessary git_buf_printf calls 2013-09-23 21:52:42 -07:00
buffer.h Merge git_buf and git_buffer 2013-09-17 09:31:45 -07:00
cache.c util: It's called memzero 2013-06-12 21:10:33 +02:00
cache.h git_atomic_ssize for 64-bit atomics only on 64-bit platforms 2013-04-25 12:40:33 -05:00
cc-compat.h Trying to fix Win32 warnings 2013-08-22 14:45:10 -07:00
checkout.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
checkout.h clone: const-ify checkout options 2013-10-02 06:42:26 +02:00
clone.c Initial iconv hookup for precomposed unicode 2013-10-03 10:44:13 -07:00
commit_list.c Prefer younger merge bases over older ones. 2013-06-25 18:36:37 +02:00
commit_list.h update copyrights 2013-01-08 17:31:27 -06:00
commit.c commit: Introduce git_commit_message_raw() 2013-10-03 07:59:55 +02:00
commit.h commit: Introduce git_commit_message_raw() 2013-10-03 07:59:55 +02:00
common.h Add git_has_win32_version helper 2013-03-31 22:22:33 -04:00
compress.c update copyrights 2013-01-08 17:31:27 -06:00
compress.h update copyrights 2013-01-08 17:31:27 -06:00
config_cache.c Put hooks in place for precompose in dirload fn 2013-10-03 10:44:13 -07:00
config_file.c Config subsection name should allow to have ']' and '\\' should allow to escape any characters 2013-10-01 09:56:17 +08:00
config_file.h replaced foreach() with non callback based iterations in git_config_backend 2013-08-08 11:14:53 +02:00
config.c config: don't special-case the multivar iterator 2013-08-14 00:45:05 +02:00
config.h Add git_repository_reset_filesystem and fix tests 2013-10-04 16:32:16 -07:00
crlf.c Fix incorrect return code in crlf filter 2013-09-24 10:11:20 -07:00
date.c Use time(2) to get the time 2013-08-19 16:44:17 -05:00
delta-apply.c update copyrights 2013-01-08 17:31:27 -06:00
delta-apply.h update copyrights 2013-01-08 17:31:27 -06:00
delta.c Fixing unwrapped calloc 2013-05-27 16:45:22 -07:00
delta.h Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
diff_driver.c config: get_multivar -> get_multivar_foreach 2013-08-08 13:57:01 +02:00
diff_driver.h Fix Windows warnings 2013-06-12 15:21:21 -07:00
diff_file.c Merge git_buf and git_buffer 2013-09-17 09:31:45 -07:00
diff_file.h Add "as_path" parameters to blob and buffer diffs 2013-06-17 17:03:34 -07:00
diff_patch.c Merge pull request #1738 from libgit2/diff-patch-content-size 2013-08-08 08:54:38 -07:00
diff_patch.h Fix diff header naming issues 2013-06-12 14:18:09 -07:00
diff_print.c Clean up unnecessary git_buf_printf calls 2013-09-23 21:52:42 -07:00
diff_tform.c Merge pull request #1804 from ethomson/rewrites 2013-09-03 12:29:18 -07:00
diff_xdiff.c Fix diff header naming issues 2013-06-12 14:18:09 -07:00
diff_xdiff.h Reorganize diff and add basic diff driver 2013-06-10 10:10:39 -07:00
diff.c Merge pull request #1840 from linquize/warning 2013-09-21 09:34:03 -07:00
diff.h Merge pull request #1738 from libgit2/diff-patch-content-size 2013-08-08 08:54:38 -07:00
errors.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
fetch.c remote: put the _download() callback with the others 2013-10-02 06:41:42 +02:00
fetch.h remote: put the _download() callback with the others 2013-10-02 06:41:42 +02:00
fetchhead.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
fetchhead.h update copyrights 2013-01-08 17:31:27 -06:00
filebuf.c index: report when it's locked 2013-08-19 10:30:44 +02:00
filebuf.h update copyrights 2013-01-08 17:31:27 -06:00
fileops.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
fileops.h Initial iconv hookup for precomposed unicode 2013-10-03 10:44:13 -07:00
filter.c Fix warnings on Windows 64-bit build 2013-09-23 21:41:52 -07:00
filter.h Add ident filter 2013-09-17 09:31:45 -07:00
fnmatch.c update copyrights 2013-01-08 17:31:27 -06:00
fnmatch.h update copyrights 2013-01-08 17:31:27 -06:00
global.c Add simple global shutdown hooks 2013-09-17 09:31:45 -07:00
global.h Add simple global shutdown hooks 2013-09-17 09:31:45 -07:00
graph.c graph: make the ahead-behind docs clearer 2013-03-22 20:27:59 +01:00
hash.c update copyrights 2013-01-08 17:31:27 -06:00
hash.h Add simple global shutdown hooks 2013-09-17 09:31:45 -07:00
hashsig.c Major rename detection changes 2013-07-31 16:40:42 -07:00
hashsig.h Refine pluggable similarity API 2013-02-20 15:09:41 -08:00
ident.c Bug fixes and cleanups 2013-09-17 09:31:46 -07:00
ignore.c Improve and comment git_ignore__pop_dir 2013-08-09 11:41:41 -07:00
ignore.h Improve building ignore file lists 2013-08-09 11:41:41 -07:00
index.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
index.h More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
indexer.c Clean up annoying warnings 2013-10-03 10:45:04 -07:00
iterator.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
iterator.h Put hooks in place for precompose in dirload fn 2013-10-03 10:44:13 -07:00
khash.h Isolate khash inlines from global namespace 2012-07-12 11:49:15 -07:00
map.h update copyrights 2013-01-08 17:31:27 -06:00
merge_file.c Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
merge_file.h Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
merge.c merge: reverse array and length parameter order 2013-09-22 05:59:35 +02:00
merge.h merge setup 2013-05-17 08:26:24 -05:00
message.c update copyrights 2013-01-08 17:31:27 -06:00
message.h update copyrights 2013-01-08 17:31:27 -06:00
mwindow.c Further threading fixes 2013-04-22 16:52:07 +02:00
mwindow.h update copyrights 2013-01-08 17:31:27 -06:00
netops.c HTTP: handle "relative" redirects 2013-10-02 14:45:57 -07:00
netops.h Deploy gitno_connection_data into transport (winhttp) 2013-09-26 16:20:30 -07:00
notes.c Make iterators use GIT_ITEROVER & smart advance 2013-05-31 12:18:43 -07:00
notes.h fixed minor issues with new note iterator 2013-03-06 22:36:19 +01:00
object_api.c object: haha 2013-04-30 13:19:02 +02:00
object.c Fix broken build when MSVC SDL checks is enabled 2013-05-11 20:13:26 +08:00
object.h object: Explicitly define helper API methods for all obj types 2013-04-30 13:13:38 +02:00
odb_loose.c Initial iconv hookup for precomposed unicode 2013-10-03 10:44:13 -07:00
odb_pack.c Initial iconv hookup for precomposed unicode 2013-10-03 10:44:13 -07:00
odb.c Merge pull request #1840 from linquize/warning 2013-09-21 09:34:03 -07:00
odb.h Create public filter object and use it 2013-09-17 09:30:06 -07:00
offmap.h pack: introduce a delta base cache 2013-01-11 16:55:37 +01:00
oid.c Fix warning 2013-09-19 23:14:06 +08:00
oid.h oid: Helper for old-school hashcmp 2013-08-14 10:34:07 +02:00
oidmap.h Add callback to git_objects_table 2013-04-22 16:51:40 +02:00
pack-objects.c Support cancellation in push operation 2013-10-02 15:12:44 -04:00
pack-objects.h Initial Implementation of progress reports during push 2013-09-30 13:22:28 -04:00
pack.c sha1_lookup: do not use the "experimental" lookup mode 2013-08-14 10:28:01 +02:00
pack.h Consolidate packfile allocation further 2013-04-22 16:52:07 +02:00
path.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
path.h Make reference lookups apply precomposeunicode 2013-10-08 16:35:57 -07:00
pathspec.c Match against file with leading ! was too broad 2013-08-09 11:20:49 -07:00
pathspec.h Add git_pathspec_match_diff API 2013-07-10 20:50:33 +02:00
pool.c allow (ignore) bare slash in gitignore 2013-05-29 16:26:25 -05:00
pool.h Improved tree iterator internals 2013-03-14 13:40:15 -07:00
posix.c Add O_CLOEXEC to open calls 2013-06-22 20:58:32 -07:00
posix.h Fix typo in documentation 2013-09-22 09:38:51 +08:00
pqueue.c update copyrights 2013-01-08 17:31:27 -06:00
pqueue.h Clean up some documentation 2013-07-23 09:40:19 +02:00
push.c Support cancellation in push operation 2013-10-02 15:12:44 -04:00
push.h Initial Implementation of progress reports during push 2013-09-30 13:22:28 -04:00
refdb_fs.c Initial iconv hookup for precomposed unicode 2013-10-03 10:44:13 -07:00
refdb_fs.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refdb.c 'del' instead of 'delete' for the poor C++ users 2013-09-24 11:04:14 -04:00
refdb.h Refcounting 2013-05-30 17:19:43 +02:00
reflog.c errors: Fix format of some error messages 2013-09-11 20:13:59 +02:00
reflog.h update copyrights 2013-01-08 17:31:27 -06:00
refs.c Make reference lookups apply precomposeunicode 2013-10-08 16:35:57 -07:00
refs.h Make reference lookups apply precomposeunicode 2013-10-08 16:35:57 -07:00
refspec.c Make refspec_transform paranoid about arguments 2013-07-01 10:21:14 -07:00
refspec.h remote: dwim the refspecs according to the remote's advertised refs 2013-04-28 18:49:51 +02:00
remote.c clone: put the callbacks struct directly in the clone options 2013-10-02 14:04:44 +02:00
remote.h remote: move the credentials callback to the struct 2013-10-02 06:41:42 +02:00
repo_template.h Make mode handling during init more like git 2013-02-27 13:44:15 -08:00
repository.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
repository.h Put hooks in place for precompose in dirload fn 2013-10-03 10:44:13 -07:00
reset.c Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
revparse.c errors: Fix format of some error messages 2013-09-11 20:13:59 +02:00
revwalk.c Remove regex usage from places that don't need it 2013-09-23 13:31:15 -07:00
revwalk.h revwalk: allow simplifying by first-parent 2013-09-09 20:31:14 +02:00
sha1_lookup.c Backport @peff's fix for duplicates in sha1_lookup 2013-09-04 13:16:57 +02:00
sha1_lookup.h sha1_lookup: do not use the "experimental" lookup mode 2013-08-14 10:28:01 +02:00
signature.c Add new git_signature_default API using config 2013-08-16 15:04:15 -07:00
signature.h update copyrights 2013-01-08 17:31:27 -06:00
sortedcache.c Fix sortedcache docs and other feedback 2013-08-22 15:44:34 -07:00
sortedcache.h Add stddef include for sortedcache 2013-08-28 11:20:47 -07:00
stash.c Never consider submodules for stashing 2013-09-27 17:07:06 -07:00
status.c No such thing as an orphan branch 2013-09-17 09:50:30 +02:00
status.h status access by index, providing more details to callers 2013-06-17 10:03:14 -07:00
strmap.c config: get rid of a useless asignment 2013-08-12 11:40:57 +02:00
strmap.h config: get rid of a useless asignment 2013-08-12 11:40:57 +02:00
submodule.c More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00
submodule.h Add ignore_submodules to diff options 2013-07-10 12:15:03 -07:00
tag.c odb: wrap the stream reading and writing functions 2013-08-15 14:29:27 +02:00
tag.h Simplify object table parse functions 2013-04-22 16:52:06 +02:00
thread-utils.c update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.h Load SRWLock APIs at runtime 2013-08-26 14:56:31 -07:00
trace.c Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
trace.h Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
transport.c Add git_transport_register, git_transport_unregister 2013-10-01 16:49:41 -04:00
tree-cache.c update copyrights 2013-01-08 17:31:27 -06:00
tree-cache.h update copyrights 2013-01-08 17:31:27 -06:00
tree.c Fix memory leak in git_tree_walk on error or when stopping the walk from the supplied callback 2013-09-13 21:36:39 +02:00
tree.h Add cat-file example and increase const use in API 2013-05-16 10:38:27 -07:00
tsort.c Sorting function cleanup and MinGW fix 2013-03-11 16:43:58 -07:00
util.c Merge pull request #1858 from linquize/win32-template-dir 2013-09-17 10:21:22 -07:00
util.h Mark git__timer as inline on OSX 2013-10-01 12:56:47 -07:00
vector.c vector: Teach git_vector_uniq() to free while deduplicating 2013-08-27 20:14:07 +02:00
vector.h Merge pull request #1805 from libgit2/threading-packed-load 2013-08-28 09:38:14 -07:00