libgit2/tests-clar/config
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
..
add.c Clean up config.h 2012-11-27 13:18:28 -08:00
backend.c Move git_config_backend to include/git2/sys 2013-04-21 11:50:55 -07:00
config_helpers.c remote: introduce git_remote_rename() 2012-10-25 17:42:36 +02:00
config_helpers.h remote: introduce git_remote_rename() 2012-10-25 17:42:36 +02:00
configlevel.c Remove unused variables 2012-11-13 14:28:44 +01:00
multivar.c config: allow setting multivars when none exist yet 2013-04-20 17:54:12 +02:00
new.c config: Opening a nonexistent file returns ENOTFOUND 2012-11-17 18:30:34 -08:00
read.c repo: unconditionally create a global config backend 2013-05-07 21:42:56 +02:00
refresh.c Add git_config_refresh() API to reload config 2012-10-30 12:11:23 -07:00
stress.c Merge pull request #1278 from sba1/cl-assert-equal-s 2013-01-25 20:37:39 -08:00
validkeyname.c Test config name validation 2013-01-29 12:16:59 -08:00
write.c config: don't allow passing NULL as a value to set 2013-03-09 15:45:18 +01:00