Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | submodule: lookup the submodule by path if availablecmn/submodule-foreach-diff-path | Carlos Martín Nieto | 2015-07-11 | 1 | -1/+1 |
| | | | | | | If we get the path from the gitmodules file, look up the submodule we're interested in by path, rather then by name. Otherwise we might get duplicate results. | ||||
* | 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. | ||||
* | travis: don't install CMake on OS X | Carlos Martín Nieto | 2015-07-06 | 1 | -1/+1 |
| | | | | Homebrew will error out because it's already installed. | ||||
* | travis: update the homebrew db | Carlos Martín Nieto | 2015-07-06 | 1 | -0/+1 |
| | | | | | We need to make sure we are asking for the current version of packages, or we might get 404s from the download service. | ||||
* | Update CHANGELOG with the release numberv0.23.0 | Carlos Martín Nieto | 2015-07-06 | 1 | -1/+10 |
| | |||||
* | Merge pull request #3290 from libgit2/cmn/filter-docv0.23.0-rc2 | Carlos Martín Nieto | 2015-07-03 | 1 | -2/+35 |
|\ | | | | | filter: add docs for streaming filters | ||||
| * | filter: add docs for streaming filterscmn/filter-doc | Carlos Martín Nieto | 2015-07-03 | 1 | -2/+35 |
|/ | | | | | These functions are available on the public API but don't have any documentation, so they don't appear on the API reference. Fix that. | ||||
* | Merge pull request #3289 from ethomson/warnings4 | Carlos Martín Nieto | 2015-07-03 | 1 | -2/+2 |
|\ | | | | | iterator_walk: cast away constness for free | ||||
| * | iterator_walk: cast away constness for free | Edward Thomson | 2015-07-02 | 1 | -2/+2 |
| | | |||||
* | | 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). | ||||
* | | Merge pull request #3286 from libgit2/cmn/submodule-duplicate | Carlos Martín Nieto | 2015-07-02 | 2 | -1/+24 |
|\ \ | | | | | | | Correctly delimit the keys for submodule lookup | ||||
| * | | submodule: correctly delimit the keys to use for lookupcmn/submodule-duplicate | Carlos Martín Nieto | 2015-07-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regex we use to look at the gitmodules file does not correctly delimit the name of submodule which we want to look up and puts '.*' straight after the name, maching on any submodule which has the seeked submodule as a prefix of its name. Add the missing '\.' in the regex so we want a full stop to exist both before and after the submodule name. | ||||
| * | | 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. | ||||
* | | Merge pull request #3280 from linquize/8.3 | Edward Thomson | 2015-07-01 | 1 | -1/+4 |
|\ \ | | | | | | | Fix 8.3 filename tests failure when 8.3 is disabled | ||||
| * | | Fix 8.3 filename tests failure when 8.3 is disabled | Linquize | 2015-07-01 | 1 | -1/+4 |
| |/ | |||||
* | | submodule: completely remove reload_all | Carlos Martín Nieto | 2015-07-01 | 3 | -13/+3 |
|/ | | | | | | | | 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. | ||||
* | Merge pull request #3278 from mplough/master | Edward Thomson | 2015-06-30 | 1 | -7/+0 |
|\ | | | | | Fix #3093 - remove declaration of unused function git_fetch__download… | ||||
| * | Fix #3093 - remove declaration of unused function git_fetch__download_pack | Matthew Plough | 2015-06-30 | 1 | -7/+0 |
|/ | | | | | | Function was added in commit 2c982daa2eec64b80c7940bfe1142295bd72edd8 on October 5, 2011, and removed in commit 41fb1ca0ec51ad1d2a14b911aab3215e42965d1b on October 29, 2012. Given the length of time it's gone unused, it's safe to remove now. | ||||
* | Merge pull request #3273 from ethomson/warnings3 | Carlos Martín Nieto | 2015-06-30 | 5 | -4/+7 |
|\ | | | | | More warnings | ||||
| * | 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 |
| | | |||||
| * | winhttp: remove unused var | Edward Thomson | 2015-06-30 | 1 | -1/+0 |
| | | |||||
| * | posix compat: include sys/stat.h for mingw | Edward Thomson | 2015-06-30 | 1 | -0/+1 |
| | | |||||
| * | diff: use size_t format | Edward Thomson | 2015-06-30 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3275 from git-up/http_fix | Edward Thomson | 2015-06-30 | 1 | -0/+4 |
|\ \ | |/ |/| | http: fixed leak when asking for credentials again | ||||
| * | http: fixed leak when asking for credentials again | Pierre-Olivier Latour | 2015-06-30 | 1 | -0/+4 |
|/ | | | | | t->cred might have been allocated the previous time and needs to be freed before asking caller for credentials again. | ||||
* | Merge pull request #3271 from jeffhostetler/more_leaks | Edward Thomson | 2015-06-30 | 1 | -0/+3 |
|\ | | | | | memory leak refspec.c | ||||
| * | fix memory leak in refspec.c on errors. | Jeff Hostetler | 2015-06-30 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #3270 from ethomson/warnings2 | Carlos Martín Nieto | 2015-06-30 | 12 | -16/+14 |
|\ \ | |/ |/| | 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 |
| | | |||||
| * | examples: clean up some warnings | Edward Thomson | 2015-06-29 | 2 | -2/+4 |
| | | |||||
| * | odb: cast to long long for printf | Edward Thomson | 2015-06-29 | 1 | -1/+1 |
| | | |||||
| * | submodule: cast enum to int for compare | Edward Thomson | 2015-06-29 | 1 | -1/+1 |
| | | |||||
| * | openssl: free hostname | Edward Thomson | 2015-06-29 | 1 | -0/+1 |
| | | |||||
| * | 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 |
| | | |||||
| * | stash: drop unused variable | Edward Thomson | 2015-06-29 | 1 | -2/+1 |
| | | |||||
| * | iterator_walk: drop unused variable | Edward Thomson | 2015-06-29 | 1 | -5/+0 |
| | | |||||
* | | Merge pull request #3269 from libgit2/cmn/release-fixups | Edward Thomson | 2015-06-29 | 3 | -25/+16 |
|\ \ | |/ |/| | Submodule and http fixes | ||||
| * | http: don't give up on auth on the first trycmn/release-fixups | Carlos Martín Nieto | 2015-06-29 | 1 | -2/+1 |
| | | | | | | | | | | When the server rejects an authentication request, ask the caller for the credentials again, instead of giving up on the first try. | ||||
| * | submodule: remove trailing slashes from submodule paths | Carlos Martín Nieto | 2015-06-29 | 2 | -4/+15 |
| | | | | | | | | | | We allow looking up a submodule by path, but we lost the path normalisation during the recent changes. Bring it back. | ||||
| * | submodule: remove some obsolete logic | Carlos Martín Nieto | 2015-06-29 | 1 | -19/+0 |
|/ | | | | | Remove some of the logic that was left-over from the time we had a cache of submodules, plugging a leak of the submodule object in certain cases. | ||||
* | CHANGELOG: add submodule changesv0.23.0-rc1 | Carlos Martín Nieto | 2015-06-29 | 1 | -2/+23 |
| | |||||
* | Merge pull request #3268 from libgit2/vmg/pkg-config-sort | Vicent Marti | 2015-06-29 | 1 | -2/+4 |
|\ | | | | | pkg-config: Sort the different sections | ||||
| * | pkg-config: Sort the different sectionsvmg/pkg-config-sort | Vicent Marti | 2015-06-29 | 1 | -2/+4 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | Because of the fact that pkg-config is pants-on-head retarded and that the Linux linker *requires* a static library to come before all its dynamic dependencies in the link path, calling `pkg-config --libs --static` was generating the wrong flags for linking. Before this patch: -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/local/lib -lcurl -lssh2 -lrt -lgit2 -lssl -lcrypto -ldl -lz After this patch: -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/local/lib -lgit2 -lcurl -lssh2 -lrt -lssl -lcrypto -ldl -lz By setting the "Libs" line before all other rules, we make sure that `-lgit2` is the first library in the link path and that it gets its symbols resolved with the libraries coming after it. This fix (ab)uses an implementation detail in `pkg-config` (namely, that flags are output as they are found on the file), but this detail seems to be stable between releases and always gives a stable output. | ||||
* | Bump version to 0.23.0 and SOVERSION to 23 | Carlos Martín Nieto | 2015-06-28 | 1 | -3/+3 |
| | |||||
* | Merge pull request #3267 from libgit2/cmn/libs-list | Carlos Martín Nieto | 2015-06-28 | 1 | -10/+14 |
|\ | | | | | CMake: treat the ld flags as a list |