libgit2/tests-clar/repo
Carlos Martín Nieto a4b75dcf56 repo: unconditionally create a global config backend
When a repository is initialised, we need to probe to see if there is
a global config to load. If this is not the case, the user isn't able
to write to the global config without creating the backend and adding
it themselves, which is inconvenient and overly complex.

Unconditionally create and add a backend for the global config file
regardless of whether it exists as a convenience for users.

To enable this, we allow creating backends to files that do not exist
yet, changing the semantics somewhat, and making some tests invalid.
2013-05-07 21:42:56 +02:00
..
config.c repo: unconditionally create a global config backend 2013-05-07 21:42:56 +02:00
discover.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
getters.c Make refcounting atomic 2013-04-22 17:12:11 +02:00
hashfile.c Add cl_repo_set_bool and cleanup tests 2013-03-22 14:27:56 -07:00
head.c Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
headtree.c repo: Make git_repository_head_tree() return error codes 2012-11-22 18:51:06 +01:00
init.c Add cl_repo_set_bool and cleanup tests 2013-03-22 14:27:56 -07:00
iterator.c Fix fs iterator test on case sensitive fs 2013-04-18 14:59:25 -07:00
message.c tests: fix indentation in repo/message.c 2013-02-07 03:12:39 -08:00
open.c repo: unconditionally create a global config backend 2013-05-07 21:42:56 +02:00
repo_helpers.c Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
repo_helpers.h repository: Refine repository_head() error report 2012-11-12 00:14:51 +01:00
setters.c Make refcounting atomic 2013-04-22 17:12:11 +02:00
state.c repo: fix state when HEAD is not detached 2012-11-04 12:13:42 -06:00