- 03 Oct, 2013 1 commit
-
-
nulltoken committed
-
- 30 Sep, 2013 2 commits
- 11 Jun, 2013 1 commit
-
-
There are all sorts of misconfiguration in the wild. We already rely on the signature constructor to trim SP. Extend the logic to use `isspace` to decide whether a character should be trimmed.
Carlos Martín Nieto committed
-
- 15 May, 2013 2 commits
-
-
nulltoken committed
-
Vicent Marti committed
-
- 03 May, 2013 1 commit
-
-
Edward Thomson committed
-
- 22 Apr, 2013 3 commits
-
-
Vicent Marti committed
-
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
-
- 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
-
- 14 Mar, 2013 1 commit
-
-
This fixes various build warnings on Mac and Windows (64-bit).
Russell Belfer committed
-
- 07 Mar, 2013 1 commit
-
-
Edward Thomson committed
-
- 20 Feb, 2013 1 commit
-
-
Vicent Marti committed
-
- 25 Jan, 2013 1 commit
-
-
Replaced all cl_assert(!strcmp()) or semantically equivalent forms by cl_assert_equal_s().
Sebastian Bauer committed
-
- 21 Jan, 2013 1 commit
-
-
The commit time is already stored as a git_time_t, but we were parsing is as a uint32_t. This just switches the parser to use uint64_t which will handle dates further in the future (and adds some tests of those future dates).
Russell Belfer 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
-
- 03 Dec, 2012 1 commit
-
-
Ben Straub committed
-
- 30 Nov, 2012 1 commit
-
-
Ben Straub committed
-
- 27 Nov, 2012 1 commit
-
-
Ben Straub committed
-
- 23 Nov, 2012 1 commit
-
-
Without this change, any failed assertion in the second (or a later) test inside a test suite has a chance of double deleting memory, resulting in a heap corruption. See #1096 for details. This leaves alone the test cases where we "just" use cl_git_sandbox_init() and cl_git_sandbox_cleanup(). These methods already take good care to not double delete a repository. Fixes #1096
Sascha Cunz committed
-
- 11 Jul, 2012 2 commits
- 17 May, 2012 1 commit
-
-
Vicent Martí committed
-
- 03 Apr, 2012 2 commits
-
-
Signed-off-by: schu <schu-github@schulog.org>
schu committed -
Vicent Martí committed
-
- 21 Mar, 2012 1 commit
-
-
Created a copy of tests/resources/testrepo.git that is compatible with the Clar sandboxing helpers. Restructured commit test suites to use Clar sandbox helpers. Now using typed data arrays rather than lots of macros to define test cases.
Ben Straub committed
-
- 15 Feb, 2012 1 commit
-
-
git_commit_create is supposed to update the given reference "update_ref", but segfaulted in case of a yet to be born reference. Fix it. Signed-off-by: schu <schu-github@schulog.org>
schu committed
-