- 01 May, 2011 1 commit
-
-
Vicent Marti committed
-
- 23 Apr, 2011 1 commit
-
-
Removed the optional `replace` argument, we now have 4 add methods: `git_index_add`: add or update from path `git_index_add2`: add or update from struct `git_index_append`: add without replacing from path `git_index_append2`: add without replacing from struct Yes, this breaks the bindings.
Vicent Marti committed
-
- 21 Apr, 2011 2 commits
-
-
LIBGIT2_VER_MINOR was left at 10 instead of 11.
Emmanuel Rodriguez committed -
When in the middle of a merge, the index needs to contain several files with the same name. git_index_insert() used to prevent this by not adding a new entry if an entry with the same name already existed.
Jakob Pfender committed
-
- 12 Apr, 2011 1 commit
-
-
Lists all the tag references in a repository using a custom callback. Includes unit tests courtesy of Emeric Fermas <3
Vicent Marti committed
-
- 09 Apr, 2011 5 commits
-
-
The new name is more cool.
Vicent Marti committed -
Most tags will have a timestamp of whenever the code is running and dealing with time and timezones is error-prone. Optimize for this case by adding a function which causes the signature to be created with a current timestamp. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
The parameters are given by '@param name' and not '@name'. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
git_repository_path() and git_repository_workdir() respectively return the path to the git repository and the working directory. Those paths are absolute and normalized.
nulltoken committed -
We are now using a custom `strtol` implementation to make sure we're not missing any overflow errors.
Vicent Marti committed
-
- 08 Apr, 2011 3 commits
-
-
Vicent Marti committed
-
Add several IDXENTRY flags that need to be checked in order to properly implement update-index --refresh.
Jakob Pfender committed -
Sam committed
-
- 07 Apr, 2011 1 commit
-
-
As libgit2 separates an index entry's 32-bit flag into two 16-bit values flags and flags_extended, the values of flags_extended need to be adjusted.
Jakob Pfender committed
-
- 04 Apr, 2011 3 commits
-
-
Vicent Marti committed
-
Add several IDXENTRY flags that need to be checked in order to properly implement update-index --refresh.
Jakob Pfender committed -
Vicent Marti committed
-
- 03 Apr, 2011 1 commit
-
-
Creates a tree by scanning the index file. The method handles recursive creation of trees for subdirectories and adds them to the parent tree.
Sarath Lakshman committed
-
- 30 Mar, 2011 4 commits
- 29 Mar, 2011 5 commits
-
-
Internal methods are static and without the git prefix. 'Force' methods have a `_f` prefix to match the other 'force' methods.
Vicent Marti 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 3 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 -
schu committed
-
Expose the tag parsing capabilities already present in the library. Exporting this function makes it possible to implement the mktag command without duplicating this functionality. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto 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 2 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
-
- 23 Mar, 2011 7 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 -
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
-