| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
Signed-off-by: schu <schu-github@schulog.org>
|
|
|
|
| |
`delete` is a reserved keyword in C++.
|
|
|
|
|
|
| |
Instead of just setting the value to NULL, which gives unwanted
results when asking for that variable after deleting it, delete the
variable from the list and re-write the file.
|
| |
|
|
|
|
|
|
|
| |
Otherwise MSVC doesn't know what we're talking about when we say
int32_t or int64_t.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
| |
|
|
|
|
|
|
|
| |
This allows the library to guess where the system configuration file
should be located.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
|
|
|
|
|
|
| |
wide values
Should fix issue #419.
Signed-off-by: nulltoken <emeric.fermas@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
1. The license header is technically not valid if it doesn't have a
copyright signature.
2. The COPYING file has been updated with the different licenses used in
the project.
3. The full GPLv2 header in each file annoys me.
|
|
|
|
| |
an error code".
|
| |
|
|
|
|
| |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
| |
|
| |
|
| |
|
|
|
|
| |
Scott commands, I obey.
|
|
|
|
|
| |
Do not mess with environment variables anymore. The new external API has
more helper methods, and everything is explicit.
|
|
|
|
| |
Fix all the missmatched arguments in the docs
|
|
|
|
|
|
|
|
| |
It's not clear how git_config and git_config_file relate to one
another. Be more explicit about their relationship in the function
documentation.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
| |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
|
|
|
|
| |
"git_config_backend" have been renamed to "git_config_file", which
implements a generic interface to access a configuration file -- be it
either on disk, from a DB or whatever mumbojumbo.
I think this makes more sense.
|
| |
|
|
|
|
| |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Configuration options can come from different sources. Currently,
there is only support for reading them from a flat file, but it might
make sense to read it from a database at some point.
Move the parsing code into src/config_file.c and create an include
file include/git2/config_backend.h to allow for other backends to be
developed.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
| |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
|
|
|
|
|
|
| |
Config variables should be interpreted at run-time, as we don't know if a
zero means false or zero, or if yes means true or "yes".
As a variable has no intrinsic type, git_cvtype is gone and the public
API takes care of enforcing a few rules.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
|
|
|
|
|
| |
These functions can be used to query or modify the variables in a
given configuration. No sanity checking is done on the variable names.
This is mostly meant as an API preview.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|