- 29 Mar, 2011 6 commits
-
-
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Add internal reference create and rename functions which take a force parameter, telling them to overwrite an existing reference if it exists. These functions try to update the reference if it's of the same type as the one it's going to be replaced by. Otherwise the old reference becomes invalid. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed
-
- 28 Mar, 2011 4 commits
-
-
Apologies for the massive changes in the external API (that's my fault), and for the terrible codename for this release (that's @tclem's fault). The detailed overview for the major API changes can be found in the commit at 72a3fe42. Major new features in this release: - Real caching and refcounting on parsed objects - Real caching and refcounting on objects read from the ODB - Streaming writes & reads from the ODB - Single-method writes for all object types - The external API is now partially thread-safe - Improved reference handling - New method to list references - ZLib is now built-in - Improvements to the Revision Walker - Tons of bug fixes Thanks to all the contributors who make this possible. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Vicent Marti committed -
Vicent Marti committed
-
schu committed
-
schu committed
-
- 25 Mar, 2011 1 commit
-
-
List all the references in the repository, calling a custom callback for each one. The listed references may be filtered by type, or using a bitwise OR of several types. Use the magic value `GIT_REF_LISTALL` to obtain all references, including packed ones. The `callback` function will be called for each of the references in the repository, and will receive the name of the reference and the `payload` value passed to this method.
Vicent Marti committed
-
- 24 Mar, 2011 4 commits
-
-
Jakob Pfender committed
-
Fix the doxygen comments for git_index_open_inrepo(). Previously they referred to a param index_path and omitted index (probably a c&p error).
Jakob Pfender committed -
The current behaviour of git_index_open{bare,inrepo}() is unexpected. When an index is opened, an in-memory index object is created that is linked to the index discovered by git_repository_open(). However, this index object is empty, as the on-disk index is not read. To fully open the on-disk index file, git_index_read() has to be called. This leads to confusing behaviour. Consider the following code: git_index *idx; git_index_open_inrepo(&idx, repo); git_index_write(idx); You would expect this to have no effect, as the index is never ostensibly manipulated. However, what actually happens is that the index entries are removed from the on-disk index because the empty in-memory index object created by open_inrepo() is written back to the disk. This patch reads the index after opening it.
Jakob Pfender committed -
Scott Chacon committed
-
- 23 Mar, 2011 8 commits
-
-
Vicent Marti committed
-
Fix a doxygen typo ("@para" instead of "@param") in odb.h
Jakob Pfender committed -
Fix a few minor typos in the documentation of the GIT_ERROR codes.
Jakob Pfender committed -
Temporary files when doing streaming writes are now stored inside the Objects folder, to prevent issues when moving files between disks/partitions. Add support for block writes to the ODB again (for those backends that cannot implement streaming).
Vicent Marti committed -
Vicent Marti committed
-
MSVC doesn't swallow that.
Vicent Marti committed -
Vicent Marti committed
-
In the same spirit that git_repository_lookup is no longer available, add wrappers so the users don't have to cast when closing their objects. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed
-
- 22 Mar, 2011 17 commits
-
-
Vicent Marti committed
-
nulltoken committed
-
nulltoken committed
-
Add remove_placeholders() test helper function which recursively removes marker files from a directory structure
nulltoken committed -
We have removed the hooks folder because it takes a lot of space
Vicent Marti committed -
nulltoken committed
-
The folder creation is now decorrelated from the recursive parsing of the source tree structure.
nulltoken committed -
nulltoken committed
-
nulltoken committed
-
Those functions now return prettified rooted path.
nulltoken committed -
nulltoken committed
-
see https://github.com/libgit2/libgit2/issues#issue/84
nulltoken committed -
When the system temporary folder is located on a different volume than the working directory into which libgit2 is executing, MoveFileEx() requires an additional flag.
nulltoken committed -
git_time_t is defined as a signed 64 integer. This allows a true predictable multiplatform behavior.
nulltoken committed -
Tim Branyen committed
-
Thanks to Carlos Martín Nieto for spotting this.
Vicent Marti committed -
Vicent Marti committed
-