Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-03Include git2/revert.h in git2.hLinquize
2013-10-28Merge remote-tracking branch 'libgit2/development' into blameBen Straub
2013-10-12Rename diff objects and split patch.hRussell Belfer
This makes no functional change to diff but renames a couple of the objects and splits the new git_patch (formerly git_diff_patch) into a new header file.
2013-10-03Merge branch 'development' into blameBen Straub
Conflicts: include/git2.h
2013-09-28Add refdb.h to git2.h, reorder git2.h sanelyEdward Thomson
2013-09-26Merge branch 'development' into blameBen Straub
2013-09-17Start of filter API + git_blob_filtered_contentRussell Belfer
This begins the process of exposing git_filter objects to the public API. This includes: * new public type and API for `git_buffer` through which an allocated buffer can be passed to the user * new API `git_blob_filtered_content` * make the git_filter type and GIT_FILTER_TO_... constants public
2013-09-17Merge branch 'development' into blame_rebasedBen Straub
Conflicts: include/git2.h
2013-07-10Fix example/log.c pathspec handling of mergesRussell Belfer
This fixes the way the example log program decides if a merge commit should be shown when a pathspec is given. Also makes it easier to use the pathspec API to just check "does a tree match anything in the pathspec" without allocating a match list.
2013-06-14Initial blame APIBen Straub
2013-01-09update copyrightsEdward Thomson
2012-11-30Merge pull request #1108 from libgit2/ahead-behind-countRussell Belfer
Add API to calculate ahead/behind count
2012-11-29Rename git_count_ahead_behind -> git_graph_ahead_behindScott J. Goldman
Moved it into graph.{c,h} which i created for the new "graph" functions namespace. Also adjusted the function prototype to use `size_t` and `const git_oid *`.
2012-11-28Push! By schu, phkelley, and congyiwu, et alPhilip Kelley
2012-11-01Merge pull request #1030 from pwkelley/transportsVicent Martí
Reorganize transport architecture
2012-11-01Reorganize transport architecture (squashed 3)Philip Kelley
2012-10-27stash: add git_stash_save()nulltoken
2012-10-09gsoc-pack-objects WIPMichael Schubert
2012-08-22Add public API for internal ignoresRussell Belfer
This creates a public API for adding to the internal ignores list, which already existing but was not accessible. This adds the new default value for core.excludesfile also.
2012-08-01Add checkout.h to git2.h.Ben Straub
Also correcting some documentation strings.
2012-07-17Merge branch 'development' into cloneBen Straub
2012-07-11Add missing includesVicent Marti
2012-06-21Add git_clone and git_clone_bare.Ben Straub
So far they only create a repo, setup the "origin" remote, and fetch. The API probably needs work as well; there's no way to get progress information at this point. Also uncovered a shortcoming; git_remote_download doesn't fetch over local transport.
2012-06-19message: Expose git_message_prettify()nulltoken
git_commit() and git_tag() no longer prettify the message by default. This has to be taken care of by the caller. This has the nice side effect of putting the caller in position to actually choose to strip the comments or not.
2012-06-07Merge pull request #669 from nulltoken/topic/resetVicent Martí
Add git_reset()
2012-06-07Add git_reset()nulltoken
Currently supports Soft and Mixed modes.
2012-05-11Rev-parse: @{time} syntax.Ben Straub
Ported date.c (for approxidate_careful) from git.git revision aa39b85. Trimmed out the parts we're not using.
2012-04-12Move git_merge_base() to is own header and document itCarlos Martín Nieto
2012-03-29Added submodule API and use in statusRussell Belfer
When processing status for a newly checked out repo, it is possible that there will be submodules that have not yet been initialized. The only way to distinguish these from untracked directories is to have some knowledge of submodules. This commit adds a new submodule API which, given a name or path, can determine if it appears to be a submodule and can give information about the submodule.
2012-03-03Implement diff lists and formattersRussell Belfer
This reworks the diff API to separate the steps of producing a diff descriptions from formatting the diff. This will allow us to share diff output code with the various diff creation scenarios and will allow us to implement rename detection as an optional pass that can be run on a diff list.
2012-02-15Merge pull request #558 from schu/notes-apiVicent Martí
Notes API
2012-02-15Add git notes APIschu
This commit adds basic git notes support to libgit2, namely: * git_note_read * git_note_message * git_note_oid * git_note_create * git_note_remove In the long run, we probably want to provide some convenience callback mechanism for merging and moving (filter-branch) notes. Signed-off-by: schu <schu-github@schulog.org>
2012-02-15zlib: Remove custom `git2/zlib.h` headerVicent Martí
This is legacy compat stuff for when `deflateBound` is not defined, but we're not embedding zlib and that function is always available. Kill that with fire.
2012-02-13Update Copyright headerschu
Signed-off-by: schu <schu-github@schulog.org>
2011-11-28remote: Cleanup the remotes coderepo-ownershipVicent Marti
- Hide the remaining transports code - Drop `git_headarray`, switch to using a callback to list refs. Makes the code cleaner.
2011-11-16threads: Fix the shared global state with TLSVicent Marti
See `global.c` for a description of what we're doing. When libgit2 is built with GIT_THREADS support, the threading system must be explicitly initialized with `git_threads_init()`.
2011-10-09put version information in separate fileSven Strickroth
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2011-10-06libgit2 v0.15.0 "Das Wunderbar Release"v0.15.0Vicent Marti
I am aware the codename is not gramatically correct in any language. Check the COPYING file for the detailed terms on libgit2's license. Check the AUTHORS file for the full list of guilty parties. As we slowly stabilize the API, we've dropped 1 function from the library, and changed the signature of only 5 of them. There's of course a good chunk of new functionality, and a thousand bug fixes. In this release of libgit2: - Changed `git_blob_rawsize`: Now returns `size_t` instead of int, allowing files >4GB in 64 bit systems. - Removed `git_commit_message_short`: Please use `git_commit_message` to get the full message and decide which is the "short view" according to your needs (first line, first 80 chars...) - Added `git_commit_message_encoding`: Returns the encoding field of a commit message, if it exists. - Changed `git_commit_create`, `git_commit_create_v`: New argument `encoding`, which adds a encoding field to the generated commit object. - Added `git_config_find_system`: Returns the path to the system's global config file (according to the Core Git standards). - Changed `git_config_get_XX`, `git_config_set_XX`: the `long` and `int` types have been replaced by `int64` and `int32` respectively, to make their meaning more obvious. - Added `git_indexer`: An interface to index Git Packfiles has been added in the `git2/indexer.h` header. - Changed `git_reflog_entry_XX`: Reflog entries are now returned as `git_oid *` objects instead of hexadecimal OIDs. - Added `git_remote`: More fetch functionality has been added to the `git2/remote.h` functionality. Local, Smart HTTP and Git protocols are now supported. - Added `git_repository_head`: Returns the HEAD of the repository. - Added `git_repository_config_autoload`: Opens the configuration file of a repository, including the user's and the system's global config files, if they can be found. - Changed `git_signature_now`: Now returns an error code; the signature is stored by reference.
2011-09-19Cleanup legal dataVicent Marti
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.
2011-08-02Intial indexer codeCarlos Martín Nieto
2011-07-29Remove double include of remote.h from git2.hMarcel Groothuis
2011-07-27Including git2/status.h in the git2.h header.Julien Miotte
2011-07-14libgit2 v0.14.0, "watermelon wheat"v0.14.0Vicent Marti
This a very packed minor release. The usual guilty parties have been working harder than usual during the holidays -- thanks to everyone involved! As always, the updated API docs can be found at: http://libgit2.github.com/libgit2/ NEW FEATURES: - New OS abstraction layer. This should make all POSIX calls much more reliable under Windows. - Much faster writes of simple objects (commits, tags, trees) to the ODB via in-memory buffering and direct writes, instead of streaming. - Unified & simplified API for object creation. All the `create` methods now take Objects instead of OIDs to ensure that corrupted (dangling) objects cannot be created on the repository. - Fully Git-compilant reference renaming (finally!), with the already existing `git_reference_rename`. - Deletion of config keys with `git_config_delete` - Greatly improved index performance when adding new entries - Reflog support with the `git_reflog` API - Remotes support with the `git_remote` API - First parts of the Networking API, including refspecs and the transport abstraction layer. (Note that there are no actual transports implemented yet) - Status support with the `git_status_foreach` and `git_status_file` functions. - Tons of bugfixes, including the outstanding bug #127 (wrong sort ordering when querying tree entries). KNOWN ISSUES: - The reference renaming code leaks memory. This is being worked on as part of a reference handling overhaul. - The tree-from-index builder has abysmal performance because it doesn't handle the Treecache extension yet. This is also being worked on. FULL API CHANGELOG: - removed, * modified, + added - git_commit_create_o - git_commit_create_ov - git_reference_create_oid_f - git_reference_create_symbolic_f - git_reference_rename_f - git_tag_create_f - git_tag_create_fo - git_tag_create_o * git_commit_create * git_commit_create_v * git_config_foreach * git_reference_create_oid * git_reference_create_symbolic * git_reference_rename * git_tag_create * git_tag_create_frombuffer + git_clearerror + git_config_delete + git_index_uniq + git_odb_hashfile + git_oid_fromstrn + git_reflog_entry_byindex + git_reflog_entry_committer + git_reflog_entry_msg + git_reflog_entry_oidnew + git_reflog_entry_oidold + git_reflog_entrycount + git_reflog_free + git_reflog_read + git_reflog_write + git_refspec_src_match + git_refspec_transform + git_remote_connect + git_remote_fetchspec + git_remote_free + git_remote_get + git_remote_ls + git_remote_name + git_remote_url + git_repository_head_detached + git_repository_head_orphan + git_status_file + git_status_foreach + git_tag_create_lightweight + git_tag_list_match + git_transport_new
2011-07-11Cleanup external APIVicent Marti
Some of the WIP API calls have been hidden in preparation for the next minor release.
2011-07-09reflog: add API to read or write a reference logschu
So far libgit2 didn't support reference logs (reflog). Add a new git_reflog_* API for basic reading and writing of reflogs: * git_reflog_read * git_reflog_write * git_reflog_free Signed-off-by: schu <schu-github@schulog.org>
2011-06-26pkt-line: parse other-ref linesCarlos Martín Nieto
Add support for parsing other-ref lines. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26Implement ls-remote on local driveCarlos Martín Nieto
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26Abstract the refspec query and parseCarlos Martín Nieto
Move them to their own functions to avoid duplication and to make it easier to ignore missing configuration. Not finding 'fetch' is considered fatal, though this might not be correct behaviour (push-only remotes?) Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26Add a remotes APICarlos Martín Nieto
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-19libgit2 v0.13.0 "Watermelon Wheat"v0.13.0Vicent Marti
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