- 14 Jun, 2011 2 commits
-
-
Add a test to check that value replacement works. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Confg variables are indended using tags and not four spaces as was being done by the code. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed
-
- 07 Jun, 2011 13 commits
-
-
After each variable gets set, we store it in our list (not completely in the right position, but the close enough). Then we write out the new config file in the same way that git.git does it (keep the rest of the file intact and insert or replace the variable in its line). Overwriting variables and adding new ones is supported (even on new sections), though deleting isn't yet. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
The section name should be stored in its case-sensitive variant when we are adding a new variable. Use the internalize_section function to do just that. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
The (rather late) early-exit code, which provides a negligible optimisation causes cvar_match_section to return false negatives when it's called with a section name instead of a full variable name. Remove this optimisation. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
This time for good.
Vicent Marti committed -
This commit uploaded an old broken test. Oops!
Vicent Marti committed -
Tree: Added a function that returns the type of a tree entry.
Vicent Martí committed -
Search objects of different types given OID prefix
Vicent Martí committed -
Better name for git_oid_match
Vicent Martí committed -
Fix build errors on MSVC
Vicent Martí committed -
[Tree | Index] API uniformisation
Vicent Martí committed -
reference_rename: respect all references v2
Vicent Martí committed -
Cleanup the thread-utils file. Do not define TLS if libgit2 is not threadsafe.
Vicent Marti committed -
[Discovery path] Fix and tests
Vicent Martí committed
-
- 06 Jun, 2011 5 commits
-
-
Romain Geissler committed
-
As suggested by carlosmn, git_oid_ncmp would probably be a better name than git_oid_match, for it does the same as git_oid_cmp but only up to a certain amount of hex digits.
Marc Pegon committed -
given an OID prefix.
Marc Pegon committed -
Romain Geissler committed
-
Repository: A little fix in error code. GIT_ENOTFOUND is returned when a gitfile is malformed and GIT_ENOTAREPO when the pointed dir is not a repo. Fixed tests so that it check the right error code.
Romain Geissler committed
-
- 05 Jun, 2011 9 commits
-
-
The filebuf was not being properly written after a flush. This should cut it now. Fixes #228
Vicent Marti committed -
Vicent Marti committed
-
Romain Geissler committed
-
Johan 't Hart committed
-
Feature Added: Search an unmerged entry by path (git_index_get_unmerged renamed to git_index_get_unmerged_bypath) or by index (git_index_get_unmerged_byindex).
Romain Geissler committed -
Romain Geissler committed
-
the error returned by the subsystem; clarify error message. Fix tiny typo. Signed-off-by: schu <schu-github@schulog.org>
schu committed -
Add a new function reference_available() to check if a reference name actually is free and can be used. Signed-off-by: schu <schu-github@schulog.org>
schu committed -
Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 04 Jun, 2011 7 commits
-
-
Unfortunately, the across_fs flag can't be tested automaticly, as we can't create a temporary new filesystem.
Romain Geissler committed -
It used to discard the last directory if the path didn't have a trailing slash.
Romain Geissler committed -
Romain Geissler committed
-
Romain Geissler committed
-
Vicent Marti committed
-
Now the ceiling_dirs are compared with their symbolic free version (like base_path). The ceiling dirs check is now performed after getting the parent directory.
Romain Geissler committed -
Discovery path v2
Vicent Martí committed
-
- 03 Jun, 2011 4 commits
-
-
Repository: Added the git_repository_discover function that finds by itself the git directory that manage a given directory path.
Romain Geissler committed -
Repository: Splitted the repository destructor into a helper part (only free directories path) and the complete public destructor.
Romain Geissler committed -
Repository: Added read_gitfile that allows you to read a .git file and extract the git directory path.
Romain Geissler committed -
retrieve_device returns the file device for a given path (so that we can detect device change while walking through parent directories). abspath returns a canonicalized path, symbolic link free. retrieive_ceiling_directories_offset returns the biggest path offset that path match in the ceiling directory list (so that we can stop at ceiling directories).
Romain Geissler committed
-