Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | commit: add function to attach a signature to a commitcmn/commit-with-signature | Carlos Martín Nieto | 2016-03-15 | 3 | -0/+185 |
| | | | | | In combination with the function which creates a commit into a buffer, this allows us to more easily create signed commits. | ||||
* | Merge pull request #3623 from ethomson/rebase_with_commit | Carlos Martín Nieto | 2016-03-09 | 3 | -5/+288 |
|\ | | | | | rebase: additional setup tests of exotic behavior | ||||
| * | rebase: additional tests for completing a rebase | Edward Thomson | 2016-02-28 | 2 | -5/+83 |
| | | |||||
| * | rebase: additional setup tests of exotic behavior | Edward Thomson | 2016-02-17 | 1 | -0/+205 |
| | | | | | | | | | | | | | | Test some additional exotic rebase setup behavior: that we are able to set up properly when already in a detached HEAD state, that the caller specifies all of branch, upstream and onto, and that the caller specifies branch, upstream and onto by ID. | ||||
* | | Merge pull request #3672 from libgit2/cmn/do-fail-appveyor | Carlos Martín Nieto | 2016-03-09 | 1 | -0/+1 |
|\ \ | | | | | | | appveyor: stop if the first test fails | ||||
| * | | appveyor: stop if the first test fails | Carlos Martín Nieto | 2016-03-09 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #3670 from libgit2/vmg/expand-fixes | Edward Thomson | 2016-03-09 | 2 | -70/+163 |
|\ \ \ | |/ / |/| | | Fixes for `gid_odb_expand_ids` | ||||
| * | | odb: Try to lookup headers in all backends before passthroughvmg/expand-fixes | Vicent Marti | 2016-03-09 | 1 | -5/+20 |
| | | | |||||
| * | | odb: Refactor `git_odb_expand_ids` | Vicent Marti | 2016-03-09 | 1 | -21/+26 |
| | | | |||||
| * | | odb: Implement new helper to read types without refreshing | Vicent Marti | 2016-03-09 | 1 | -45/+104 |
| | | | |||||
| * | | odb: Handle corner cases in `git_odb_expand_ids` | Vicent Marti | 2016-03-09 | 2 | -22/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old implementation had two issues: 1. OIDs that were too short as to be ambiguous were not being handled properly. 2. If the last OID to expand in the array was missing from the ODB, we would leak a `GIT_ENOTFOUND` error code from the function. | ||||
* | | | Merge pull request #3668 from libgit2/cmn/mwindow-try-harder | Edward Thomson | 2016-03-09 | 1 | -2/+12 |
|\ \ \ | |/ / |/| | | mwindow: free unused windows if we fail to mmap | ||||
| * | | mwindow: free unused windows if we fail to mmapcmn/mwindow-try-harder | Carlos Martín Nieto | 2016-03-09 | 1 | -2/+12 |
|/ / | | | | | | | | | | | The first time may be due to memory fragmentation or just bad luck on a 32-bit system. When we hit the mmap error for the first time, free up the unused windows and try again. | ||||
* | | Merge pull request #3656 from ethomson/exists_prefixes | Vicent Marti | 2016-03-08 | 8 | -37/+297 |
|\ \ | | | | | | | Introduce `git_odb_expand_ids` | ||||
| * | | git_odb_expand_ids: accept git_odb_expand_id array | Edward Thomson | 2016-03-08 | 3 | -92/+89 |
| | | | | | | | | | | | | Take (and write to) an array of a struct, `git_odb_expand_id`. | ||||
| * | | git_odb_expand_ids: rename func, return the type | Edward Thomson | 2016-03-08 | 3 | -32/+49 |
| | | | |||||
| * | | git_odb_exists_many_prefixes: query odb for multiple short ids | Edward Thomson | 2016-03-07 | 4 | -13/+249 |
| | | | | | | | | | | | | | | | Query the object database for multiple objects at a time, given their object ID (which may be abbreviated) and optional type. | ||||
| * | | odb: improved not found error messages | Edward Thomson | 2016-03-07 | 5 | -24/+34 |
| | | | | | | | | | | | | | | | When looking up an abbreviated oid, show the actual (abbreviated) oid the caller passed instead of a full (but ambiguously truncated) oid. | ||||
* | | | Merge pull request #3555 from cbargren/ssh-git-protocols | Edward Thomson | 2016-03-08 | 4 | -19/+49 |
|\ \ \ | | | | | | | | | Support for ssh+git and git+ssh protocols | ||||
| * | | | Tabs | Chris Bargren | 2015-12-28 | 1 | -2/+2 |
| | | | | |||||
| * | | | Adding test cases that actually test the functionality of the new transport | Chris Bargren | 2015-12-28 | 1 | -0/+6 |
| | | | | | | | | | | | | ssh, ssh+git and git+ssh should all successfully build an SSH transport | ||||
| * | | | Removing #define for SSH_PREFIX_COUNT and using ARRAY_SIZE instead | Chris Bargren | 2015-12-28 | 1 | -6/+5 |
| | | | | | | | | | | | | Also moving var declarations to top of blocks to support bad old compilers | ||||
| * | | | Updating change to http_parser to reflect PR for nodejs/http-parser | Chris Bargren | 2015-12-28 | 1 | -2/+5 |
| | | | | | | | | | | | | The parser now also supports digits, '-' and '.'. https://github.com/nodejs/http-parser/pull/276 | ||||
| * | | | Adding spec coverage for ssh+git and git+ssh protocols | Chris Bargren | 2015-12-22 | 1 | -0/+4 |
| | | | | |||||
| * | | | Handle git+ssh:// and ssh+git:// protocols support | Chris Bargren | 2015-12-22 | 2 | -17/+35 |
| | | | | |||||
| * | | | Updating http parser to accept a `+` in the schema | Chris Bargren | 2015-12-22 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #3652 from libgit2/cmn/commit-to-memory | Edward Thomson | 2016-03-08 | 4 | -47/+216 |
|\ \ \ \ | | | | | | | | | | | commit: split creating the commit and writing it out | ||||
| * | | | | commit: split creating the commit and writing it outcmn/commit-to-memory | Carlos Martín Nieto | 2016-03-08 | 4 | -47/+216 |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | Sometimes you want to create a commit but not write it out to the objectdb immediately. For these cases, provide a new function to retrieve the buffer instead of having to go through the db. | ||||
* | | | | Merge pull request #3655 from ethomson/nanosecond_defaults | Carlos Martín Nieto | 2016-03-08 | 4 | -31/+66 |
|\ \ \ \ | | | | | | | | | | | Enable nanosecond resolution by default | ||||
| * | | | | index::racy: force racy entry | Edward Thomson | 2016-03-08 | 1 | -19/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of hoping that we can get a racy entry by going real fast and praying real hard, just create a racy entry. | ||||
| * | | | | index::nsec: don't expect shit filesystems to not suck | Edward Thomson | 2016-03-07 | 1 | -9/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the underlying filesystem doesn't support better than one second resolution, then don't expect that turning on `GIT_USE_NSEC` does anything magical to change that. | ||||
| * | | | | merge::workdir::dirty: update to use `st_ctime_nsec` | Edward Thomson | 2016-03-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Update unit test to use newfangled `st_ctime_nsec`, which provides indirection to the platform-correct name. | ||||
| * | | | | Enable nanosecond resolution by default | Edward Thomson | 2016-03-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Nanosecond resolution is now the default in git itself. Enable this as our default as well. | ||||
* | | | | | Merge pull request #3658 from patrickmckenna/update-pro-git-link | Edward Thomson | 2016-03-08 | 1 | -3/+2 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Update link to Pro Git's Git internals chapter | ||||
| * | | | | Update link to Pro Git's Git internals chapter. | Patrick McKenna | 2016-03-07 | 1 | -3/+2 |
|/ / / / | |||||
* | | | | Merge pull request #3653 from libgit2/cmn/treebuilder-submodulev0.24.0 | Edward Thomson | 2016-03-04 | 2 | -1/+14 |
|\ \ \ \ | | | | | | | | | | | treebuilder: don't try to verify submodules exist in the odb | ||||
| * | | | | treebuilder: don't try to verify submodules exist in the odbcmn/treebuilder-submodule | Carlos Martín Nieto | 2016-03-04 | 2 | -1/+14 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submodules don't exist in the objectdb and the code is making us try to look for a blob with its commit id, which is obviously not going to work. Skip the test if the user wants to insert a submodule. | ||||
* | | | | Merge pull request #3651 from libgit2/cmn/init-libssh2 | Edward Thomson | 2016-03-03 | 3 | -1/+31 |
|\ \ \ \ | | | | | | | | | | | ssh: initialize libssh2 | ||||
| * | | | | ssh: initialize libssh2cmn/init-libssh2 | Carlos Martín Nieto | 2016-03-03 | 3 | -1/+31 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | We should have been doing this, but it initializes itself upon first use, which works as long as nobody's doing concurrent network operations. Initialize it on our init to make sure it's not getting initialized concurrently. | ||||
* | | | | Merge pull request #3639 from srajko/threading-openssl-libssh2 | Carlos Martín Nieto | 2016-03-03 | 1 | -5/+11 |
|\ \ \ \ | |/ / / |/| | | | Expand OpenSSL and libssh2 thread safety documentation | ||||
| * | | | Expand OpenSSL and libssh2 thread safety documentation | Stjepan Rajko | 2016-02-26 | 1 | -5/+11 |
| | | | | |||||
* | | | | tests: take the version from our define | Carlos Martín Nieto | 2016-03-03 | 1 | -1/+1 |
| | | | | |||||
* | | | | Bump version to 0.24.0 | Carlos Martín Nieto | 2016-03-03 | 1 | -3/+3 |
| | | | | |||||
* | | | | CHANGELOG: prepre tamplate for release | Carlos Martín Nieto | 2016-03-03 | 1 | -1/+14 |
| | | | | |||||
* | | | | CHANGELOG: add note about WinHTTP cred handling | Carlos Martín Nieto | 2016-03-03 | 1 | -0/+3 |
| | | | | |||||
* | | | | Merge pull request #3648 from libgit2/cmn/auth-retry | Carlos Martín Nieto | 2016-03-03 | 4 | -4/+17 |
|\ \ \ \ | | | | | | | | | | | test: make sure we retry the auth callback on all platforms | ||||
| * | | | | tests: create a ctest target for cred_callbackcmn/auth-retry | Carlos Martín Nieto | 2016-03-03 | 3 | -4/+8 |
| | | | | | |||||
| * | | | | winhttp: retry authentication | Carlos Martín Nieto | 2016-03-03 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the caller has provided bad authentication, give them another apportunity to get it right until they give up. This brings WinHTTP in line with the other transports. | ||||
| * | | | | test: make sure we retry the auth callback on all platforms | Carlos Martín Nieto | 2016-03-03 | 2 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were missing this test on Windows, which meant we didn't notice that we never fixed the single authentication attempt it tries, nor its wrong return code. Enable this for the unix platforms as well over HTTP. We previously were doing it locally but disabled it on OS X due to issues with its sshd not accepting password authentication. | ||||
* | | | | | Merge pull request #3646 from pks-t/pks/xdiff-fix-from-upstream | Carlos Martín Nieto | 2016-03-03 | 1 | -2/+5 |
|\ \ \ \ \ | |/ / / / |/| | | | | xdiff: fix memleak on error case |