Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iterator: adjust unreadable-dir test to new behaviourcmn/iterator-skip-diriter | Carlos Martín Nieto | 2015-07-27 | 1 | -5/+1 |
| | | | | | We don't want the iterator to make us stop whenever we hit an unreadable dir. We should instead move over to the next item. | ||||
* | Merge pull request #3302 from libgit2/cmn/submodule-foreach-diff-path | Carlos Martín Nieto | 2015-07-13 | 1 | -0/+18 |
|\ | | | | | List a submodule only once when the path matches a submodule in the index | ||||
| * | submdule: reproduce double-reporting of a submodule in foreach | Carlos Martín Nieto | 2015-07-11 | 1 | -0/+18 |
| | | | | | | | | | | | | When we rename a submodule, we should be merging two sets of information based on whether their path is the same. We currently only deduplicate on equal name, which causes us to double-report. | ||||
* | | Merge branch 'portable-zu' | Carlos Martín Nieto | 2015-07-12 | 3 | -4/+4 |
|\ \ | |||||
| * | | Fix #3094 - improve use of portable size_t/ssize_t format specifiers. | Matthew Plough | 2015-07-12 | 3 | -4/+4 |
| | | | | | | | | | | | | The header src/cc-compat.h defines portable format specifiers PRIuZ, PRIdZ, and PRIxZ. The original report highlighted the need to use these specifiers in examples/network/fetch.c. For this commit, I checked all C source and header files not in deps/ and transitioned to the appropriate format specifier where appropriate. | ||||
* | | | wildcard filters: move CHANGELOG message to 0.23+1 | Edward Thomson | 2015-07-10 | 1 | -2/+1 |
| | | | |||||
* | | | wildcard filters: clean up some warnings in tests | Edward Thomson | 2015-07-10 | 1 | -5/+9 |
| | | | |||||
* | | | Merge pull request #3281 from ethomson/wildcard_filters | Carlos Martín Nieto | 2015-07-09 | 4 | -104/+310 |
|\ \ \ | | | | | | | | | filters: custom filters with wildcard attributes | ||||
| * | | | filters: custom filters with wildcard attributes | Edward Thomson | 2015-07-01 | 4 | -104/+310 |
| | | | | | | | | | | | | | | | | | | | | | | | | Allow custom filters with wildcard attributes, so that clients can support some random `filter=foo` in a .gitattributes and look up the corresponding smudge/clean commands in the configuration file. | ||||
* | | | | revert: correct test that added trailing newline | Edward Thomson | 2015-07-07 | 1 | -10/+12 |
| | | | | |||||
* | | | | merge_files: don't add trailing newlines | Edward Thomson | 2015-07-07 | 1 | -0/+39 |
| | | | | | | | | | | | | | | | | | | | | When invoked with three files that each lack a trailing newline, the merge result should also lack a trailing newline. | ||||
* | | | | Merge pull request #3277 from git-up/git_diff_index_to_index | Carlos Martín Nieto | 2015-07-07 | 1 | -0/+32 |
|\ \ \ \ | | | | | | | | | | | Added git_diff_index_to_index() | ||||
| * | | | | Added git_diff_index_to_index() | Pierre-Olivier Latour | 2015-06-30 | 1 | -0/+32 |
| | | | | | |||||
* | | | | | Merge pull request #3288 from ethomson/getenv | Carlos Martín Nieto | 2015-07-07 | 8 | -92/+104 |
|\ \ \ \ \ | | | | | | | | | | | | | git__getenv: utf-8 aware env reader | ||||
| * | | | | | git__getenv: utf-8 aware env reader | Edward Thomson | 2015-07-02 | 8 | -92/+104 |
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | Introduce `git__getenv` which is a UTF-8 aware `getenv` everywhere. Make `cl_getenv` use this to keep consistent memory handling around return values (free everywhere, as opposed to only some platforms). | ||||
* | | | | | Merge pull request #3202 from jeffhostetler/windows_stack_trace | Carlos Martín Nieto | 2015-07-06 | 3 | -19/+170 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Stacktraces with CRTDBG memory leaks on Windows | ||||
| * | | | | Include stacktrace summary in memory leak output. | Jeff Hostetler | 2015-06-29 | 3 | -19/+170 |
| | | | | | |||||
* | | | | | Merge pull request #3287 from ethomson/filter_test_cleanup | Carlos Martín Nieto | 2015-07-02 | 1 | -6/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | filter::stream: free the filter sanely | ||||
| * | | | | | filter::stream: free the filter sanely | Edward Thomson | 2015-07-02 | 1 | -6/+1 |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | Don't use the filter's free callback to free the actual data structure holding the filter, as we may not always actually initialize it (the test may be skipped). | ||||
* | | | | | submodule: add failing test for loading the wrong submodule | Carlos Martín Nieto | 2015-07-01 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | When two submodules are fairly similar, we may end up loading the wrong one. | ||||
* | | | | | submodule: completely remove reload_all | Carlos Martín Nieto | 2015-07-01 | 1 | -2/+0 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function was removed, but its declaration and changelog entry about its removal were forgotten. The comment in the test doesn't make any sense as the function doesn't exist anymore, so get rid of it as well. | ||||
* | | | | index tests: add eol to avoid compiler warning | Edward Thomson | 2015-06-30 | 1 | -1/+1 |
| | | | | |||||
* | | | | checkout test: mark unused vars | Edward Thomson | 2015-06-30 | 1 | -1/+4 |
| |/ / |/| | | |||||
* | | | Merge pull request #3270 from ethomson/warnings2 | Carlos Martín Nieto | 2015-06-30 | 5 | -5/+6 |
|\ \ \ | |/ / |/| | | Remove some warnings | ||||
| * | | checkout test: check getcwd return value | Edward Thomson | 2015-06-29 | 1 | -1/+1 |
| | | | |||||
| * | | clar: test chdir | Edward Thomson | 2015-06-29 | 1 | -1/+1 |
| | | | |||||
| * | | filter test: pass base type | Edward Thomson | 2015-06-29 | 1 | -2/+2 |
| | | | |||||
| * | | stash: const up conflict params | Edward Thomson | 2015-06-29 | 1 | -1/+1 |
| | | | |||||
| * | | index test: include repository.h for decl | Edward Thomson | 2015-06-29 | 1 | -0/+1 |
| | | | |||||
* | | | submodule: remove trailing slashes from submodule paths | Carlos Martín Nieto | 2015-06-29 | 1 | -0/+3 |
|/ / | | | | | | | | | We allow looking up a submodule by path, but we lost the path normalisation during the recent changes. Bring it back. | ||||
* | | Merge pull request #3265 from libgit2/leaks | Carlos Martín Nieto | 2015-06-27 | 4 | -7/+27 |
|\ \ | | | | | | | Plug a bunch of leaks | ||||
| * | | index, iterator, fetchhead: plug leaksleaks | Carlos Martín Nieto | 2015-06-26 | 2 | -1/+7 |
| | | | |||||
| * | | checkout: plug a few leaks | Carlos Martín Nieto | 2015-06-26 | 1 | -5/+15 |
| | | | |||||
| * | | diff: fix leaks in diff printing | Carlos Martín Nieto | 2015-06-26 | 1 | -1/+5 |
| | | | |||||
* | | | Merge pull request #3260 from ethomson/apply_with_reflog_indices | Carlos Martín Nieto | 2015-06-27 | 1 | -0/+34 |
|\ \ \ | | | | | | | | | stash: test we apply using reflog-like indices | ||||
| * | | | stash: test we apply using reflog-like indices | Edward Thomson | 2015-06-26 | 1 | -0/+34 |
| |/ / | |||||
* | | | Merge pull request #3263 from git-up/fixes | Carlos Martín Nieto | 2015-06-26 | 2 | -2/+0 |
|\ \ \ | |/ / |/| | | Fixes | ||||
| * | | Removed unused variables | Pierre-Olivier Latour | 2015-06-26 | 2 | -2/+0 |
| |/ | |||||
* | | Merge pull request #3259 from ethomson/stash_apply_argh | Carlos Martín Nieto | 2015-06-26 | 1 | -9/+85 |
|\ \ | | | | | | | Stash apply: stage new files even when not updating the index | ||||
| * | | stash: stage new files when unstashing them | Edward Thomson | 2015-06-25 | 1 | -2/+50 |
| | | | | | | | | | | | | | | | Files that were new (staged additions) in the stash tree should be staged when unstashing, even when not applying the index. | ||||
| * | | stash: don't allow apply with staged changes | Edward Thomson | 2015-06-25 | 1 | -1/+18 |
| | | | |||||
| * | | stash apply: add a newly staged file to tests | Edward Thomson | 2015-06-25 | 1 | -8/+19 |
| | | | |||||
* | | | test-diff-blob: Pass proper nibble sizesvmg/prefix-len | Vicent Marti | 2015-06-26 | 1 | -14/+14 |
| | | | |||||
* | | | revparse: Add test to make sure this doesn't regress | Vicent Marti | 2015-06-26 | 1 | -0/+15 |
| |/ |/| | |||||
* | | diff: test we don't update index unnecessarily | Edward Thomson | 2015-06-26 | 1 | -7/+69 |
| | | | | | | | | | | Test that workdir diffs, when presented with UPDATE_INDEX, only write the index when they actually make a change. | ||||
* | | Merge pull request #3255 from libgit2/cmn/rename-unspecified | Edward Thomson | 2015-06-25 | 3 | -11/+11 |
|\ \ | |/ |/| | Rename FALLBACK to UNSPECIFIED | ||||
| * | Rename FALLBACK to UNSPECIFIEDcmn/rename-unspecified | Carlos Martín Nieto | 2015-06-25 | 3 | -11/+11 |
| | | | | | | | | | | Fallback describes the mechanism, while unspecified explains what the user is thinking. | ||||
* | | Merge pull request #3256 from libgit2/cmn/fetch-spec-fetchhead | Edward Thomson | 2015-06-25 | 1 | -0/+44 |
|\ \ | | | | | | | remote: insert refspecs with no rhs in FETCH_HEAD | ||||
| * | | remote: insert refspecs with no rhs in FETCH_HEADcmn/fetch-spec-fetchhead | Carlos Martín Nieto | 2015-06-25 | 1 | -0/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When a refspec contains no rhs and thus won't cause an explicit update, we skip all the logic, but that means that we don't update FETCH_HEAD with it, which is what the implicit rhs is. Add another bit of logic which puts those remote heads in the list of updates so we put them into FETCH_HEAD. | ||||
* | | | Merge pull request #3246 from libgit2/cmn/dont-grow-borrowed | Edward Thomson | 2015-06-25 | 1 | -0/+13 |
|\ \ \ | |_|/ |/| | | Don't allow growing borrowed buffers |