- 03 Oct, 2013 1 commit
-
-
nulltoken committed
-
- 30 Sep, 2013 1 commit
-
-
Fix libgit2/libgit2sharp#522
nulltoken committed
-
- 11 Jul, 2013 1 commit
-
-
Russell Belfer committed
-
- 10 Jul, 2013 2 commits
-
-
This converts the array of parent SHAs from a git_vector where each SHA has to be separately allocated to a git_array_t where all the SHAs can be kept in one block. Since the two collections have almost identical APIs, there isn't much involved in making the change. I did add an API to git_array_t so that it could be allocated at a precise initial size.
Russell Belfer committed -
Russell Belfer committed
-
- 16 May, 2013 1 commit
-
-
This adds an example implementation that emulates git cat-file. It is a convenient and relatively simple example of getting data out of a repository. Implementing this also revealed that there are a number of APIs that are still not using const pointers to objects that really ought to be. The main cause of this is that `git_vector_bsearch` may need to call `git_vector_sort` before doing the search, so a const pointer to the vector is not allowed. However, for tree objects, with a little care, we can ensure that the vector of tree entries is always sorted and allow lookups to take a const pointer. Also, the missing const in commit objects just looks like an oversight.
Russell Belfer committed
-
- 11 May, 2013 1 commit
-
-
Linquize committed
-
- 05 May, 2013 2 commits
- 22 Apr, 2013 4 commits
-
-
This unifies the object parse functions into one signature that takes an odb_object.
Russell Belfer committed -
This adds create and free callback to the git_objects_table so that more of the creation and destruction of objects can be table driven instead of using switch statements. This also makes the semantics of certain object creation functions consistent so that we can make better use of function pointers. This also fixes a theoretical error case where an object allocation fails and we end up storing NULL into the cache.
Russell Belfer committed -
This uses the odb object accessors so we can change the internals more easily...
Russell Belfer committed -
Vicent Marti committed
-
- 21 Apr, 2013 2 commits
-
-
Actually this renames git_commit_create_oid to git_commit_create_from_oids and moves the API declaration to include/git2/sys/commit.h since it is a dangerous API for general use (because it doesn't check that the OID list items actually refer to real objects).
Russell Belfer committed -
John Wiegley committed
-
- 15 Apr, 2013 1 commit
-
-
The end of the header is signaled by to consecutive LFs and the commit message starts immediately after. Jumping over LFs at the start of the message is a bug and leads to creating different commits if when rebuilding history. This also fixes an empty commit message being returned as "\n".
Carlos Martín Nieto committed
-
- 17 Mar, 2013 1 commit
-
-
Implicit type conversion argument of function to size_t type Suspicious sequence of types castings: size_t -> int -> size_t Consider reviewing the expression of the 'A = B == C' kind. The expression is calculated as following: 'A = (B == C)' Unsigned type is never < 0
Arkadiy Shapkin committed
-
- 07 Mar, 2013 1 commit
-
-
Edward Thomson committed
-
- 27 Jan, 2013 1 commit
-
-
Philip Kelley committed
-
- 20 Jan, 2013 1 commit
-
-
When the encoding header changed to be treated as an additional header, the EOL pointer started to point to the byte after the LF, making the git__strndup call copy the LF into the value. Increase the EOL pointer value after copying the data to keep the rest of the semantics but avoid copying LF.
Carlos Martín Nieto committed
-
- 17 Jan, 2013 1 commit
-
-
This moves the check for the "encoding" header into a loop which is just scanning for non-required headers at the end of a commit header. That loop will skip unrecognized lines (including header continuation lines) until a terminating completely blank line is found, and only then does it move to reading the commit message.
Russell Belfer committed
-
- 08 Jan, 2013 1 commit
-
-
Edward Thomson committed
-
- 03 Dec, 2012 1 commit
-
-
Ben Straub committed
-
- 01 Dec, 2012 1 commit
-
-
Ben Straub committed
-
- 30 Nov, 2012 1 commit
-
-
Ben Straub committed
-
- 27 Nov, 2012 1 commit
-
-
Conflicts: src/branch.c tests-clar/refs/branches/create.c
Vicent Marti committed
-
- 24 Jul, 2012 1 commit
-
-
nulltoken committed
-
- 11 Jul, 2012 2 commits
- 15 Jun, 2012 3 commits
- 07 Jun, 2012 1 commit
-
-
Currently supports Soft and Mixed modes.
nulltoken committed
-
- 19 May, 2012 1 commit
-
-
* indexer: remove leftover printf * commit: remove unused macros COMMIT_BASIC_PARSE, COMMIT_FULL_PARSE and COMMIT_PRINT
Michael Schubert committed
-
- 17 May, 2012 2 commits
-
-
Vicent Martí committed
-
Vicent Martí committed
-
- 07 May, 2012 1 commit
-
-
'git commit' and 'git tag -a' enforce some conventions, like cleaning up excess whitespace and making sure that the last line ends with a '\n'. This fix replicates this behavior. Fix libgit2/libgit2sharp#117
nulltoken committed
-
- 26 Apr, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 11 Apr, 2012 1 commit
-
-
nulltoken committed
-
- 02 Apr, 2012 1 commit
-
-
Vicent Martí committed
-