Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | local: let the packbuilder perform smarter object insertioncmn/pack-objects-walk | Carlos Martín Nieto | 2015-03-11 | 1 | -32/+10 |
| | | | | | | | | | | Currently we use the most naïve and inefficient method for figuring out which objects to send to the remote whereby we end up trying to insert subdirs which have not changed multiple times. Instead, make use of the packbuilder's built-in more efficient method which uses the walk to feed the object list and avoids inserting an object and its descendants. | ||||
* | pack-objects: fill a packbuilder from a walk | Carlos Martín Nieto | 2015-03-11 | 3 | -1/+265 |
| | | | | | | | | | | | Most use-cases for the object packer communicate in terms of commits which each side has. We already have an object to specify this relationship between commits, namely git_revwalk. By knowing which commits we want to pack and which the other side already has, we can perform similar optimisations to git, by marking each tree as interesting or uninteresting only once, and not sending those trees which we know the other side has. | ||||
* | Reorder some khash declarations | Carlos Martín Nieto | 2015-03-11 | 7 | -4/+13 |
| | | | | | | Keep the definitions in the headers, while putting the declarations in the C files. Putting the function definitions in headers causes them to be duplicated if you include two headers with them. | ||||
* | Merge pull request #2971 from ethomson/revert_fastfail | Carlos Martín Nieto | 2015-03-11 | 4 | -16/+2 |
|\ | | | | | Revert "fastfail" from the mingw PR | ||||
| * | Revert "add fast-fail feature for pending builds in PR's" | Edward Thomson | 2015-03-10 | 1 | -4/+0 |
| | | | | | | | | This reverts commit 8008ab6a4158416d095212c9782fa1622ef994a5. | ||||
| * | Revert "Implement fail-fast for Travis as well" | Edward Thomson | 2015-03-10 | 3 | -12/+2 |
|/ | | | | This reverts commit ba6c53b91b1d9c9dc49b7c0d8e8efbd9842c31dc. | ||||
* | Merge pull request #2964 from git-up/fixes | Edward Thomson | 2015-03-09 | 2 | -2/+2 |
|\ | | | | | Fixes | ||||
| * | Removed unnecessary GIT_CHECKOUT_SKIP_UNMERGED for GIT_RESET_HARD | Pierre-Olivier Latour | 2015-03-08 | 1 | -1/+1 |
| | | |||||
| * | Fixed build warning | Pierre-Olivier Latour | 2015-03-08 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2946 from tkelman/appveyor-mingw | Edward Thomson | 2015-03-09 | 10 | -8/+74 |
|\ \ | |/ |/| | RFC: add mingw to appveyor matrix | ||||
| * | Use secure API if available. | Matti Virolainen | 2015-03-06 | 1 | -1/+1 |
| | | |||||
| * | Add some missing definitions for mingw.org | Tony Kelman | 2015-03-06 | 1 | -0/+7 |
| | | | | | | | | these shouldn't be necessary if _WIN32_WINNT >= _WIN32_WINNT_VISTA | ||||
| * | Move definitions of strcasecmp and strncasecmp to msvc-compat.h | Tony Kelman | 2015-03-06 | 2 | -2/+3 |
| | | | | | | | | should cut down on compiler warnings with mingw | ||||
| * | Allow failures on mingw for now | Tony Kelman | 2015-03-05 | 1 | -0/+4 |
| | | |||||
| * | Only run -ionline tests IF (WINHTTP OR OPENSSL_FOUND) | Tony Kelman | 2015-03-05 | 1 | -1/+5 |
| | | |||||
| * | Add MinGW-w64 to matrix | Tony Kelman | 2015-03-04 | 2 | -4/+28 |
| | | | | | | | | | | | | | | | | cache mingw-w64 downloads quiet curl and 7zip run appveyor steps in cmd for mingw | ||||
| * | Implement fail-fast for Travis as well | Tony Kelman | 2015-03-04 | 3 | -2/+12 |
| | | |||||
| * | add fast-fail feature for pending builds in PR's | Tony Kelman | 2015-03-04 | 1 | -0/+4 |
| | | |||||
| * | add mingw to appveyor matrix | Tony Kelman | 2015-03-04 | 2 | -2/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | use MSYS makefiles generator add bash script for running mingw on appveyor add --login and fix run paths use msys style path to appveyor-mingw.sh add mingw path to /etc/fstab | ||||
* | | Merge pull request #2963 from libgit2/cmn/rename-reflog | Carlos Martín Nieto | 2015-03-08 | 3 | -1/+7 |
|\ \ | | | | | | | refdb: use the same id for old and new when renaming a reference | ||||
| * | | refdb: use the same id for old and new when renaming a referencecmn/rename-reflog | Carlos Martín Nieto | 2015-03-08 | 3 | -1/+7 |
|/ / | | | | | | | | | | | | | | | | | When we rename a reference, we want the old and new ids to be the same one (as we did not change it). The normal code path looks up the old id from the current value of the brtanch, but by the time we look it up, it does not exist anymore and thus we write a zero id. Pass the old id explicitly instead. | ||||
* | | Merge pull request #2961 from ethomson/filter_relative_paths | Edward Thomson | 2015-03-06 | 2 | -2/+98 |
|\ \ | | | | | | | Filter relative paths | ||||
| * | | filter: accept relative paths in apply_to_file | Edward Thomson | 2015-03-06 | 1 | -1/+1 |
| | | | |||||
| * | | filter::file tests: test filter_list_apply_to_file | Edward Thomson | 2015-03-06 | 1 | -0/+97 |
| | | | | | | | | | | | | | | | Test that filter_list_apply_to_file works and can accept repo-relative paths. | ||||
| * | | filter: drop old TODO | Edward Thomson | 2015-03-06 | 1 | -1/+0 |
| |/ | |||||
* | | Merge pull request #2950 from libgit2/ntk/reflog_branch_create | Carlos Martín Nieto | 2015-03-06 | 3 | -5/+5 |
|\ \ | |/ |/| | branch: fix generated reflog message upon creation | ||||
| * | Drop trailing whitespacesntk/reflog_branch_create | nulltoken | 2015-03-04 | 1 | -1/+1 |
| | | |||||
| * | branch: fix generated reflog message upon renaming | nulltoken | 2015-03-04 | 2 | -2/+2 |
| | | |||||
| * | branch: fix generated reflog message upon creation | nulltoken | 2015-03-04 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #2932 from jeffhostetler/jeffhostetler/big_clone_crash | Carlos Martín Nieto | 2015-03-04 | 3 | -5/+69 |
|\ | | | | | Fix crash in git_clone on extremely large repos | ||||
| * | Change ifdef for MINGW32. | Jeff Hostetler | 2015-03-03 | 1 | -4/+2 |
| | | |||||
| * | Fix p_ftruncate to handle big files for git_clone | Jeff Hostetler | 2015-03-03 | 3 | -4/+70 |
| | | |||||
* | | Merge branch 'tls_data' | Carlos Martín Nieto | 2015-03-04 | 2 | -10/+38 |
|\ \ | |||||
| * | | libgit2_shutdown: free TLS data (win32) | Edward Thomson | 2015-03-04 | 1 | -0/+11 |
| | | | | | | | | | | | | Free TLS data on thread exit (win32) | ||||
| * | | libgit2_shutdown: clear err message on shutdown | Edward Thomson | 2015-03-04 | 2 | -10/+27 |
| | | | | | | | | | | | | | | | | | | Clear the error message on git_libgit2_shutdown for all versions of the library (no threads and Win32 threads). Drop the giterr_clear in clar, as that shouldn't be necessary. | ||||
| * | | Fix leak of TLS error message in shutdown (ptherad version) | Leo Yang | 2015-03-04 | 1 | -3/+3 |
|/ / | |||||
* | | Merge pull request #2886 from jeffhostetler/jeffhostetler/clar_trace | Carlos Martín Nieto | 2015-03-04 | 7 | -1/+325 |
|\ \ | | | | | | | Set up git_trace in clar test suite. | ||||
| * | | Converted cl_perf_timer to use git__timer internally. | Jeff Hostetler | 2015-03-03 | 2 | -76/+11 |
| | | | |||||
| * | | Added cl_perf_timer. Updated global trace to include timers. | Jeff Hostetler | 2015-03-02 | 4 | -2/+153 |
| | | | |||||
| * | | Cleanup formatting of clar trace messages. | Jeff Hostetler | 2015-03-02 | 1 | -7/+7 |
| | | | |||||
| * | | Provide mechanism to let CLAR globally setup git_trace() | Jeff Hostetler | 2015-03-02 | 5 | -1/+239 |
| | | | |||||
* | | | Merge pull request #2945 from ethomson/empty_hashsig_heap | Carlos Martín Nieto | 2015-03-04 | 2 | -1/+116 |
|\ \ \ | | | | | | | | | diff_tform: don't compare empty hashsig_heaps | ||||
| * | | | diff_tform: account for whitespace options | Edward Thomson | 2015-03-04 | 2 | -10/+84 |
| | | | | | | | | | | | | | | | | | | | | When comparing seemingly blank files, take whitespace options into account. | ||||
| * | | | diff_tform: don't compare empty hashsig_heaps | Edward Thomson | 2015-03-03 | 2 | -0/+41 |
| | | | | | | | | | | | | | | | | Don't try to compare two empty hashsig_heaps. | ||||
* | | | | Plug a few leaks | Carlos Martín Nieto | 2015-03-04 | 7 | -7/+19 |
| | | | | |||||
* | | | | Merge pull request #2941 from libgit2/cmn/http-enforce-cred | Edward Thomson | 2015-03-03 | 1 | -0/+5 |
|\ \ \ \ | | | | | | | | | | | http: enforce the credential types | ||||
| * | | | | http: enforce the credential typescmn/http-enforce-cred | Carlos Martín Nieto | 2015-03-03 | 1 | -0/+5 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | The user may decide to return any type of credential, including ones we did not say we support. Add a check to make sure the user returned an object of the right type and error out if not. | ||||
* | | | | Merge pull request #2771 from libgit2/cmn/config-borrow-entry | Edward Thomson | 2015-03-03 | 35 | -318/+446 |
|\ \ \ \ | |/ / / |/| | | | Borrowing configuration entries | ||||
| * | | | config: borrow refcounted referencescmn/config-borrow-entry | Carlos Martín Nieto | 2015-03-03 | 35 | -318/+446 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the get_entry() method to return a refcounted version of the config entry, which you have to free when you're done. This allows us to avoid freeing the memory in which the entry is stored on a refresh, which may happen at any time for a live config. For this reason, get_string() has been forbidden on live configs and a new function get_string_buf() has been added, which stores the string in a git_buf which the user then owns. The functions which parse the string value takea advantage of the borrowing to parse safely and then release the entry. | ||||
* | | | Remove swp files | Carlos Martín Nieto | 2015-03-03 | 2 | -0/+0 |
| | | |