| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
|
| | |
|
| |
|
|
| |
accessible to bindings
|
| | |
|
| |
|
|
| |
`git_reference_rename` now takes a `force` flag
|
| | |
|
| | |
|
| |\
| |
| | |
Add detached and orphan convenience functions
|
| | |
| |
| |
| | |
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On this rascalicious minor release of libgit2:
- We've dropped support for Waf. All the build process is now managed
through CMake for all platforms.
- We've removed the custom backends from the repository. You can now
find a collection of Custom backends on their own repo, under the
libgit2 org. Including MySQL and Memcache backends, courtesy of the
beardful Brian Lopez.
- We are rocking a new documentation system, Docurium, courtesy of the
insightful Scott Chacon. Check out the details for each single method
in our external API and the way they've evolved through the history
of the library:
http://libgit2.github.com/libgit2/
This will certainly come in handy if you are developing bindings for
the library.
- You can now check the linked version of the library from your
application or bindings, using `git_libgit2_version`.
- We have a gazillion new features, courtesy of our invaluable
collaborators, including:
* Support for Config files!
* Support for prefix-only reads on the ODB
* Repository discovery
* Support for the Unmerged Entries index extension
* Better Windows support
* 30.000 bug fixes (actual number may be lower)
Thanks as always to everyone who makes this project possible.
Here's the full list of all external API changes:
- git_index_open_bare
- git_index_open_inrepo
- git_odb_backend_sqlite
- git_oid_mkraw
- git_oid_mkstr
- git_reference_listcb
- git_repository_workdir
= git_index_get
= git_repository_path
= git_tree_entry_byindex
+ git_blob_lookup_prefix
+ git_commit_lookup_prefix
+ git_config_add_file
+ git_config_add_file_ondisk
+ git_config_file__ondisk
+ git_config_find_global
+ git_config_foreach
+ git_config_free
+ git_config_get_bool
+ git_config_get_int
+ git_config_get_long
+ git_config_get_string
+ git_config_new
+ git_config_open_global
+ git_config_open_ondisk
+ git_config_set_bool
+ git_config_set_int
+ git_config_set_long
+ git_config_set_string
+ git_index_entry_stage
+ git_index_entrycount_unmerged
+ git_index_get_unmerged_byindex
+ git_index_get_unmerged_bypath
+ git_index_open
+ git_object_lookup_prefix
+ git_odb_read_prefix
+ git_oid_fromraw
+ git_oid_fromstr
+ git_oid_ncmp
+ git_reference_foreach
+ git_repository_config
+ git_repository_discover
+ git_repository_is_bare
+ git_tag_lookup_prefix
+ git_tree_entry_type
+ git_tree_lookup_prefix
|
| |
|
|
|
| |
Allows a custom user backend to passthrough one of the callbacks. Used
for e.g. caching backends.
|
| | |
|
| |
|
|
| |
Scott commands, I obey.
|
| |
|
|
|
| |
Do not mess with environment variables anymore. The new external API has
more helper methods, and everything is explicit.
|
| |
|
|
|
|
|
| |
This function puts the global and repository configurations in one
git_config object and gives it to the user.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
| |
|
|
| |
Fix all the missmatched arguments in the docs
|
| |
|
|
| |
Drop redundant methods. The ncmp method is now public
|
| |
|
|
|
| |
Yeah. Finally. Fuck the old names, this ain't POSIX
and they don't make any sense at all.
|
| |
|
|
| |
Same name as `git_config_foreach`
|
| | |
|
| |\
| |
| | |
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.
|
| | | |
|
| | |
| |
| |
| |
| | |
All the custom backend code will be moved to a separate project,
together with the new MySQL backend.
|
| |\ \
| | |
| | | |
git_tag_create{,_o,_frombuffer} correction and improvement
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
When a tag already exists, it can be useful to directly have the oid
of the existed tag, just after trying to add it.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
| | |
| | |
| | | |
This time for good.
|
| | | |
| | |
| | |
| | | |
This commit uploaded an old broken test. Oops!
|
| |\ \ \
| | | |
| | | | |
Tree: Added a function that returns the type of a tree entry.
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Search objects of different types given OID prefix
|
| | |/ / /
| | | |
| | | |
| | | | |
given an OID prefix.
|
| |\ \ \ \
| | | | |
| | | | | |
Better name for git_oid_match
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| | | | |
| | | | | |
[Tree | Index] API uniformisation
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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).
|
| | | | | | |
|
| | |/ / /
|/| | |
| | | |
| | | |
| | | | |
Cleanup the thread-utils file. Do not define TLS if libgit2 is not
threadsafe.
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | /
| | |/
| |/| |
Discovery path v2
|
| | | |
| | |
| | |
| | | |
the git directory that manage a given directory path.
|
| |/ /
| |
| |
| | |
As suggested by Romain-Geissler
|
| | | |
|
| | |
| |
| |
| | |
compare methods (0 means oids match). Added method to compare prefixes of hex formatted oids.
|
| | |
| |
| |
| | |
for oid prefixes (set to 4, like in git). Consequently updated some object lookup methods and their documentation.
|