Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
* | | | Merge pull request #2934 from akikoskinen/mingw_build_fix | Edward Thomson | 2015-03-03 | 2 | -7/+11 |
|\ \ \ | | | | | | | | | Fix build on mingw (master branch) | ||||
| * | | | Include ws2tcpip.h in order to get in6_addr | Aki Koskinen | 2015-03-02 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | It's currently required in src/openssl_stream.c only. | ||||
| * | | | Include openssl headers last | Aki Koskinen | 2015-03-02 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows headers #define some names that openssl uses too. Openssl headers #undef the offending names before reusing them. But if those offending Windows headers get included after the openssl headers the namespace is polluted and nothing good happens. Fixes issue #2850. | ||||
| * | | | Don't include headers on windows that aren't available | Aki Koskinen | 2015-03-02 | 1 | -3/+6 |
| |/ / | | | | | | | | | | This mainly concerns mingw build. | ||||
* | | | Merge pull request #2913 from ethomson/stash_fixup | Edward Thomson | 2015-03-03 | 2 | -2/+20 |
|\ \ \ | | | | | | | | | stash: correctly stash wd modified/index deleted | ||||
| * | | | stash: correctly stash wd modified/index deleted | Edward Thomson | 2015-02-18 | 2 | -2/+20 |
| | | | | |||||
* | | | | Merge pull request #2808 from libgit2/cmn/repo-ident | Edward Thomson | 2015-03-03 | 91 | -792/+712 |
|\ \ \ \ | | | | | | | | | | | Remove the signature from ref-modifying functions | ||||
| * | | | | Update CHANGELOG with the reflog ident changescmn/repo-ident | Carlos Martín Nieto | 2015-03-03 | 1 | -0/+19 |
| | | | | | |||||
| * | | | | repository: remove log message override for switching the active branch | Carlos Martín Nieto | 2015-03-03 | 22 | -125/+141 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to use the "checkout: moving from ..." message in order to let git know when a change of branch has happened. Make the convenience functions for this goal write this message. | ||||
| * | | | | push: remove reflog message override | Carlos Martín Nieto | 2015-03-03 | 6 | -23/+15 |
| | | | | | | | | | | | | | | | | | | | | We always use "update by push". | ||||
| * | | | | branch: don't accept a reflog message override | Carlos Martín Nieto | 2015-03-03 | 9 | -109/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This namespace is about behaving like git's branch command, so let's do exactly that instead of taking a reflog message. This override is still available via the reference namespace. | ||||
| * | | | | reset: remove reflog message override | Carlos Martín Nieto | 2015-03-03 | 14 | -102/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This function is meant to simulate what git does in the reset command, so we should include the reflog message in that. | ||||
| * | | | | Remove the signature from ref-modifying functions | Carlos Martín Nieto | 2015-03-03 | 91 | -611/+581 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The signature for the reflog is not something which changes dynamically. Almost all uses will be NULL, since we want for the repository's default identity to be used, making it noise. In order to allow for changing the identity, we instead provide git_repository_set_ident() and git_repository_ident() which allow a user to override the choice of signature. | ||||
* | | | | | Merge pull request #2885 from JIghtuse/master | Carlos Martín Nieto | 2015-03-03 | 1 | -6/+24 |
|\ \ \ \ \ | |/ / / / |/| | | | | describe example: function to add commits to opts | ||||
| * | | | | describe example: function to add commits to opts | Boris Egorov | 2015-02-06 | 1 | -6/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add safe function to (a,rea)llocate memory which terminate example on memory allocation failure. Move code to allocate commits to its own function. | ||||
* | | | | | Merge pull request #2908 from ethomson/safe_create | Carlos Martín Nieto | 2015-03-03 | 17 | -76/+132 |
|\ \ \ \ \ | | | | | | | | | | | | | Allow checkout to handle newly cloned repositories, remove `GIT_CHECKOUT_SAFE_CREATE` | ||||
| * | | | | | checkout tests: just use SAFE where appropriate | Edward Thomson | 2015-02-27 | 2 | -9/+4 |
| | | | | | | |||||
| * | | | | | checkout: remove `GIT_CHECKOUT_SAFE_CREATE` as a strategy | Edward Thomson | 2015-02-27 | 11 | -73/+91 |
| | | | | | | |||||
| * | | | | | example: drop `SAFE_CREATE` from clone example | Edward Thomson | 2015-02-27 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | clone: drop now unnecessary SAFE_CREATE | Edward Thomson | 2015-02-27 | 2 | -2/+2 |
| | | | | | | |||||
| * | | | | | checkout: upgrade to `SAFE_CREATE` when no index file | Edward Thomson | 2015-02-27 | 2 | -0/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the repository does not contain an index, emulate git's behavior and upgrade to `SAFE_CREATE`. This allows us to check out repositories created with `git clone --no-checkout`. | ||||
| * | | | | | merge perf test: drop unnecessary SAFE_CREATE | Edward Thomson | 2015-02-27 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | cherrypick, revert: drop unnecessary SAFE_CREATE | Edward Thomson | 2015-02-27 | 2 | -2/+2 |
| | | | | | | |||||
* | | | | | | branch: do capture the error code | Carlos Martín Nieto | 2015-03-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to ignore GIT_ENOTFOUND, but for that we need to capture the error code from the reflog deletion. | ||||
* | | | | | | Merge pull request #2937 from git-up/branch_delete_reflog | Carlos Martín Nieto | 2015-03-03 | 1 | -1/+6 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | git_branch_delete() should ignore errors from non-existing reflogs | ||||
| * | | | | | | git_branch_delete() should ignore errors from non-existing reflogs | Pierre-Olivier Latour | 2015-03-02 | 1 | -1/+6 |
| | |_|_|/ / | |/| | | | |