- 11 Nov, 2012 1 commit
-
-
nulltoken committed
-
- 26 Oct, 2012 1 commit
-
-
nulltoken committed
-
- 25 Oct, 2012 2 commits
- 20 Oct, 2012 2 commits
- 19 Oct, 2012 2 commits
- 18 Oct, 2012 2 commits
- 15 Oct, 2012 2 commits
-
-
Also introduce the slective ref trimming promised but also missed in the previous commit.
Carlos Martín Nieto committed -
We used to require loose references to contain only an OID (possibly after trimming the string). This is however not enough for letting us lookup FETCH_HEAD, which can have a lot of content after the initial OID. Change the parsing rules so that a loose refernce must e at least 40 bytes long and the 41st (if it's there) must be accepted by isspace(3). This makes the trim unnecessary, so only do it for symrefs. This fixes #977.
Carlos Martín Nieto committed
-
- 11 Oct, 2012 3 commits
- 07 Oct, 2012 2 commits
- 30 Sep, 2012 1 commit
-
-
Indicate whether the error comes from the ref already existing or elsewhere. We always perform the check and this lets the user write more concise code.
Carlos Martín Nieto committed
-
- 25 Sep, 2012 2 commits
- 22 Sep, 2012 1 commit
-
-
Adjusts refs::list test (including the comments) Adjusts objects::tags::list test
Sascha Cunz committed
-
- 14 Sep, 2012 1 commit
-
-
Fix #936
nulltoken committed
-
- 13 Sep, 2012 1 commit
-
-
nulltoken committed
-
- 06 Sep, 2012 1 commit
-
-
Fix #530
nulltoken committed
-
- 27 Aug, 2012 2 commits
-
-
nulltoken committed
-
Vicent Marti committed
-
- 25 Aug, 2012 1 commit
-
-
Revparse now returns EAMBIGUOUS if the the spec doesn't match any refs/tags, and is <4 characters.
Ben Straub committed
-
- 23 Aug, 2012 1 commit
-
-
Russell Belfer committed
-
- 09 Aug, 2012 2 commits
-
-
Joshua Peek committed
-
Joshua Peek committed
-
- 04 Aug, 2012 1 commit
-
-
This updates all the `foreach()` type functions across the library that take callbacks from the user to have a consistent behavior. The rules are: * A callback terminates the loop by returning any non-zero value * Once the callback returns non-zero, it will not be called again (i.e. the loop stops all iteration regardless of state) * If the callback returns non-zero, the parent fn returns GIT_EUSER * Although the parent returns GIT_EUSER, no error will be set in the library and `giterr_last()` will return NULL if called. This commit makes those changes across the library and adds tests for most of the iteration APIs to make sure that they follow the above rules.
Russell Belfer committed
-
- 28 Jul, 2012 1 commit
-
-
Ben Straub committed
-
- 27 Jul, 2012 2 commits
-
-
Yes, we can get the repository from the owner of the object, but having it marked explicitly makes the API more consistent.
Vicent Marti committed -
Vicent Marti committed
-
- 25 Jul, 2012 6 commits