- 08 Aug, 2013 6 commits
-
-
The plain function will return an iterator, so move this one out of the way.
Carlos Martín Nieto committed -
Really report an error in foreach if we fail to allocate the iterator, and don't fail if the config is emtpy.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Make the iterator structure opaque and make sure it compiles.
Carlos Martín Nieto committed -
new functions in struct git_config_backend: * iterator_new(...) * iterator_free(...) * next(...) The old callback based foreach style can still be used with `git_config_backend_foreach_match`
Nico von Geyso committed -
This step is needed to easily add iterators to git_config_backend As well use these new git_strmap functions to implement foreach * git_strmap_iter * git_strmap_has_data(...) * git_strmap_begin(...) * git_strmap_end(...) * git_strmap_next(...)
Nico von Geyso committed
-
- 07 Aug, 2013 2 commits
-
-
Parse config headers with quoted quotes
Russell Belfer committed -
Parse config headers that have the last quote on the line quoted instead of walking off the end.
Edward Thomson committed
-
- 06 Aug, 2013 2 commits
-
-
More tests for ambiguous OIDs across packs
Russell Belfer committed -
The test coverage for ambiguous OIDs was pretty thin. This adds a bunch of new objects both in packs, across packs, and loose that match to 8 characters so that we can test various cases of ambiguous lookups.
Russell Belfer committed
-
- 05 Aug, 2013 3 commits
-
-
submodule: check alloc and name presence
Russell Belfer committed -
Nikolai Vladimirov committed
-
Fixes #1762
Russell Belfer committed
-
- 31 Jul, 2013 2 commits
-
-
Allow Makefile.embed to be used when cross-compiling
Carlos Martín Nieto committed -
This option is already present in the CMake config, but was missing from `Makefile.embed` and would cause all kinds of weird failures when compiling rugged on windows with the ruby devkit.
Arthur Schreiber committed
-
- 28 Jul, 2013 2 commits
-
-
Fix possible double close
Ben Straub committed -
Fix -n bug; default to all ancestors
Vicent Martí committed
-
- 27 Jul, 2013 1 commit
-
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 26 Jul, 2013 1 commit
-
-
Brendan Macmillan committed
-
- 25 Jul, 2013 2 commits
-
-
Close p->mwf.fd only if necessary
Vicent Martí committed -
This fixes a regression introduced in revision 9d2f841a. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 24 Jul, 2013 1 commit
-
-
This allows libgit2 to be cross-compiled (e.g. when building native rugged binaries for windows from Linux or OS X). ``` CROSS_COMPILE=i686-w64-mingw32 make -f Makefile.embed ```
Arthur Schreiber committed
-
- 23 Jul, 2013 4 commits
-
-
Doc fixes
Russell Belfer committed -
The description of what the function does hasn't been true for quite a while. Change it to reflect the way it currently works. While here, remove an even older comment about missing features that have been implemented.
Carlos Martín Nieto committed -
clang's docparser highlighted these.
Carlos Martín Nieto committed -
Invalid refs on disk cause revwalk globbing to fail
Vicent Martí committed
-
- 22 Jul, 2013 4 commits
-
-
The new tests don't always want to use the same fixture data as the old ones so this makes it configurable on a per-test basis.
Russell Belfer committed -
Russell Belfer committed
-
Instead of using lots of strdup calls, this adds a memory pool to the loose refs iteration code and uses it for keeping track of the loose refs array. Memory usage could probably be reduced even further by eliminating the vector and just scanning by adding the strlen of each ref, but that would be a more intrusive changes. This also updates the error handling to be more thorough about checking for failed allocations, etc.
Russell Belfer committed -
The git_reference_next API silently skips invalid references when scanning the loose refs. The git_reference_next_name API should skip the same ones even though it isn't creating the reference object. This adds a test with a an invalid loose reference and makes sure that both APIs skip the same entries and generate the same results.
Russell Belfer committed
-
- 19 Jul, 2013 7 commits
-
-
Clarify when to use github issues
Martin Woodward committed -
Edward Thomson committed
-
git_buf_text_gather_stats doesn't work for multi-byte characters
Ben Straub committed -
Suggest that github issues are to be used for bug reports, while questions about usage should be directed to StackOverflow.
Edward Thomson committed -
Refresh readme and contributing guidance
Ben Straub committed -
Updating the contributing guidance to explain a bit more about how we use PR's
Martin Woodward committed -
Updated the methods of getting involved with the project and asking questions.
Martin Woodward committed
-
- 18 Jul, 2013 3 commits
-
-
Ben Straub committed
-
Switch default calling convention to cdecl
Vicent Martí committed -
git_revparse_ext: should return a NULL reference when the revparse expression doesn't lead to a reference
Ben Straub committed
-