Carlos Martín Nieto
40fe5fbea8
Make repo config loading automatic or completely explicit
...
git_repository_config wants to take the global and system paths again
so that one can be explicit if needed.
The git_repository_config_autoload function is provided for the cases
when it's good enough for the library to guess where those files are
located.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-09-27 14:40:56 +02:00
Vicent Marti
01d7fded1b
Revert "Rewrite getenv to use Win32 version on Windows"
...
This reverts commit e1b8644467
.
2011-09-27 14:33:18 +02:00
Paul Betts
e1b8644467
Rewrite getenv to use Win32 version on Windows
2011-09-21 12:00:34 -07:00
Paul Betts
c498701df7
Fix tests to use portable setenv
2011-09-19 10:38:44 -07:00
Carlos Martín Nieto
f9d4b0c395
git_repository_config: open global config file automatically
...
If the global configuration file is missing, it is ignored.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-09-12 17:25:46 +02:00
Carlos Martín Nieto
c5b2622d68
Add git_refspec_transform test
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26 18:18:11 +02:00
Carlos Martín Nieto
fa9dcb7ede
Add refspec match test
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26 18:18:11 +02:00
Carlos Martín Nieto
73fdf706cc
Add refspec0 test
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26 18:18:11 +02:00
Carlos Martín Nieto
a030ae5020
Add a test for remote parsing
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26 18:18:10 +02:00