| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/
| |
| |
| | |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A bunch of redundant methods have been removed from the external API.
- All the reference/tag creation methods with `_f` are gone. The force
flag is now passed as an argument to the normal create methods.
- All the different commit creation methods are gone; commit creation
now always requires a `git_commit` pointer for parents and a `git_tree`
pointer for tree, to ensure that corrupted commits cannot be generated.
- All the different tag creation methods are gone; tag creation now
always requires a `git_object` pointer to ensure that tags are not
created to inexisting objects.
|
| |
|
|
|
|
| |
Signed-off-by: schu <schu-github@schulog.org>
|
| |
|
| |
|
|
|
|
|
| |
Do not mess with environment variables anymore. The new external API has
more helper methods, and everything is explicit.
|
|
|
|
|
|
|
| |
If a config has several files, we need to check all of them before we
can say that a variable doesn't exist.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
|
|
| |
The repo's configuration should take precedence over the global one.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
|
|
| |
The test wasn't updated when repos lost ownership of indices
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
| |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
|
|
|
| |
Yeah. Finally. Fuck the old names, this ain't POSIX
and they don't make any sense at all.
|
|\
| |
| | |
Implement config writing
|
| |
| |
| |
| |
| |
| | |
Add a test to check that value replacement works.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|\ \
| | |
| | | |
Fix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.
|
| | |
| | |
| | |
| | |
| | | |
GIT_PATH_LIST_SEPARATOR and GIT_PATH_MAX are made public so
that it's can be used by a client.
|
|\ \ \
| | | |
| | | | |
Fix compilation warnings in MSVC
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix git_index_add()
|
| |/ / / |
|
|/ / /
| | |
| | |
| | |
| | | |
All the custom backend code will be moved to a separate project,
together with the new MySQL backend.
|
| | | |
|
| |/
|/|
| |
| | |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
| |
| |
| |
| | |
This commit uploaded an old broken test. Oops!
|
|\ \
| | |
| | | |
reference_rename: respect all references v2
|
| | |
| | |
| | |
| | | |
Signed-off-by: schu <schu-github@schulog.org>
|
| | |
| | |
| | |
| | |
| | | |
Cleanup the thread-utils file. Do not define TLS if libgit2 is not
threadsafe.
|
|\ \ \
| |/ /
|/| /
| |/ |
[Discovery path] Fix and tests
|
| |
| |
| |
| |
| |
| | |
gitfile is malformed and GIT_ENOTAREPO when the pointed dir is not a repo.
Fixed tests so that it check the right error code.
|
| |
| |
| |
| |
| | |
Unfortunately, the across_fs flag can't be tested automaticly, as we can't
create a temporary new filesystem.
|
|/ |
|
|
|
|
|
|
| |
alternate basepath.
Fixed a Windows TO-DO in the prettifying functions.
|
|\
| |
| | |
Fix typos
|
| |
| |
| |
| |
| | |
Signed-off-by: nulltoken <emeric.fermas@gmail.com>
Signed-off-by: schu <schu-github@schulog.org>
|
|\ \
| | |
| | | |
test_lib.c: flush stdout after every test-run
|
| |/
| |
| |
| |
| |
| |
| | |
Make sure the user immediately sees the feedback, '.' or 'F', for a
test. If it's only in the buffer, it may gets "lost" in case of error.
Signed-off-by: schu <schu-github@schulog.org>
|
|\ \
| | |
| | | |
Config bugfix
|
| | |
| | |
| | |
| | | |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
| |/
| |
| |
| | |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|\ \
| | |
| | | |
Add git_repository_is_bare() accessor
|
| |/ |
|
|/
|
|
|
| |
The `git_repository_index` call now returns a brand new index that must
be manually free'd.
|
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
|
|
|
| |
Save the return value of functions not passing must_pass() and report
the returned error.
Signed-off-by: schu <schu-github@schulog.org>
|
| |
|
| |
|
|\
| |
| | |
tests: update NAMING file
|
| |
| |
| |
| | |
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|