summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1765 from arrbee/ambiguous-oidsRussell Belfer2013-08-059-2/+67
|\ | | | | More tests for ambiguous OIDs across packs
| * More tests for ambiguous OIDs across packsRussell Belfer2013-08-059-2/+67
| | | | | | | | | | | | | | 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.
* | Merge pull request #1763 from nvloff/nameless_submodule_segfaultRussell Belfer2013-08-052-1/+7
|\ \ | |/ |/| submodule: check alloc and name presence
| * submodule: check alloc and name presenseNikolai Vladimirov2013-08-052-1/+7
|/
* Update submodule documentationRussell Belfer2013-08-052-21/+81
| | | | Fixes #1762
* Merge pull request #1748 from arthurschreiber/patch-1Carlos Martín Nieto2013-07-311-6/+24
|\ | | | | Allow Makefile.embed to be used when cross-compiling
| * When building with MINGW, specify `__USE_MINGW_ANSI_STDIO`.Arthur Schreiber2013-07-311-6/+6
| | | | | | 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.
| * Allow Makefile.embed to be used when cross-compilingArthur Schreiber2013-07-251-5/+23
| | | | | | | | | | | | | | 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 ```
* | Merge pull request #1755 from csware/double-closeBen Straub2013-07-281-0/+1
|\ \ | | | | | | Fix possible double close
| * | Fix possible double closeSven Strickroth2013-07-271-0/+1
| | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | | Merge pull request #1753 from 13ren/log-bugfixVicent Martí2013-07-271-3/+4
|\ \ \ | |/ / |/| | Fix -n bug; default to all ancestors
| * | Fix -n bug; default to all ancestorsBrendan Macmillan2013-07-271-3/+4
|/ /
* | Merge pull request #1749 from csware/handle-fixesVicent Martí2013-07-251-2/+3
|\ \ | |/ |/| Close p->mwf.fd only if necessary
| * Close p->mwf.fd only if necessarySven Strickroth2013-07-251-2/+3
|/ | | | | | This fixes a regression introduced in revision 9d2f841a5d39fc25ce722a3904f6ebc9aa112222. Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Merge pull request #1745 from libgit2/doc-fixesRussell Belfer2013-07-239-32/+20
|\ | | | | Doc fixes
| * remote: fix git_remote_download() documentationCarlos Martín Nieto2013-07-231-13/+7
| | | | | | | | | | | | | | | | 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.
| * Clean up some documentationCarlos Martín Nieto2013-07-238-19/+13
|/ | | | clang's docparser highlighted these.
* Merge pull request #1732 from libgit2/revwalk-glob-should-ignore-invalidVicent Martí2013-07-223-36/+103
|\ | | | | Invalid refs on disk cause revwalk globbing to fail
| * Update init and clean for revwalk::basic testsRussell Belfer2013-07-221-12/+38
| | | | | | | | | | 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.
| * Fix warning message about mismatched typesRussell Belfer2013-07-221-5/+3
| |
| * Use pool for loose refdb string allocationsRussell Belfer2013-07-221-22/+33
| | | | | | | | | | | | | | | | | | | | | | 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.
| * git_reference_next_name must match git_reference_nextRussell Belfer2013-07-222-3/+35
|/ | | | | | | | | | 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.
* Merge pull request #1743 from ethomson/readmeMartin Woodward2013-07-191-2/+3
|\ | | | | Clarify when to use github issues
| * Update README.mdEdward Thomson2013-07-191-1/+1
| |
| * Clarify when to use github issuesEdward Thomson2013-07-191-2/+3
| | | | | | Suggest that github issues are to be used for bug reports, while questions about usage should be directed to StackOverflow.
* | Merge pull request #1726 from crazymaster/developmentBen Straub2013-07-192-3/+6
|\ \ | |/ |/| git_buf_text_gather_stats doesn't work for multi-byte characters
| * Fixcrazymaster2013-07-151-2/+2
| |
| * Fix typocrazymaster2013-07-151-2/+2
| |
| * Fix the initial linecrazymaster2013-07-151-23/+18
| |
| * Revert "Replace Japanese characters with the encoded hexadecimal values"crazymaster2013-07-151-2/+2
| | | | | | | | This reverts commit a91e4d6b21e141c2abc76b65b2d4c91d5d3e03cc.
| * Replace Japanese characters with the encoded hexadecimal valuescrazymaster2013-07-151-2/+2
| |
| * Fix gather_statscrazymaster2013-07-141-18/+23
| |
| * Add test for multi-byte characterscrazymaster2013-07-141-2/+5
| |
* | Merge pull request #1742 from martinwoodward/Refresh-ReadmeBen Straub2013-07-192-10/+22
|\ \ | | | | | | Refresh readme and contributing guidance
| * | Update contributing guidance to explain PR flowMartin Woodward2013-07-191-2/+11
| | | | | | | | | | | | | | | Updating the contributing guidance to explain a bit more about how we use PR's
| * | Tidy up the methods of contacting the projectMartin Woodward2013-07-191-8/+11
|/ / | | | | | | | | Updated the methods of getting involved with the project and asking questions.
* | TypoBen Straub2013-07-181-1/+1
| |
* | Merge pull request #1736 from ben/default-to-cdeclVicent Martí2013-07-181-9/+6
|\ \ | | | | | | Switch default calling convention to cdecl
| * | Switch default calling convention to cdecl.Ben Straub2013-07-171-9/+6
| | |
* | | Merge pull request #1722 from libgit2/ntk/fix/issue_1722Ben Straub2013-07-172-0/+54
|\ \ \ | | | | | | | | git_revparse_ext: should return a NULL reference when the revparse expression doesn't lead to a reference
| * | | revparse: Don't return a reference when asked for a git objectnulltoken2013-07-132-0/+54
| | |/ | |/| | | | | | | Fix #1722
* | | Merge pull request #1735 from ethomson/ignored_are_not_rename_candidatesVicent Martí2013-07-171-1/+3
|\ \ \ | |_|/ |/| | don't include ignored as rename candidates
| * | don't include ignored as rename candidatesEdward Thomson2013-07-171-1/+3
|/ /
* | Merge pull request #1731 from alindeman/patch-1Ben Straub2013-07-151-1/+1
|\ \ | | | | | | Small grammar fix in docs
| * | Small grammar fix in docsAndy Lindeman2013-07-151-1/+1
|/ /
* | Merge pull request #1728 from ivoire/small_fixesVicent Martí2013-07-157-10/+23
|\ \ | | | | | | Small fixes
| * | Fix some more memory leaks in error pathRémi Duraffort2013-07-152-1/+4
| | |
| * | pack: fix memory leak in error pathRémi Duraffort2013-07-152-2/+6
| | |
| * | index: fix potential memory leaksRémi Duraffort2013-07-152-4/+10
| | |
| * | repository: clarify assignment and test orderRémi Duraffort2013-07-151-3/+3
| | |