Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remote: don't say we free the remote on disconnectcmn/remote-ls | Carlos Martín Nieto | 2014-11-19 | 1 | -2/+1 |
| | | | | | On disconnect we simply ask the transport to close the connection, we do not free it. | ||||
* | remote: clarify which list of references _ls() returns | Carlos Martín Nieto | 2014-11-19 | 1 | -6/+11 |
| | | | | | Make it clear that this is not the ls-remote command but a way to access the data we have and how long it's kept around. | ||||
* | Merge pull request #2608 from libgit2/cmn/remote-push | Edward Thomson | 2014-11-18 | 1 | -0/+40 |
|\ | | | | | Provide a convenience function `git_remote_push()` | ||||
| * | remote: use configured push refspecs if none are givencmn/remote-push | Carlos Martín Nieto | 2014-11-09 | 1 | -1/+2 |
| | | | | | | | | | | If the user does not pass any refspecs to push, try to use those configured via the configuration or via add_push(). | ||||
| * | remote: introduce git_remote_push() | Carlos Martín Nieto | 2014-11-09 | 1 | -0/+39 |
| | | | | | | | | | | | | | | | | | | This function, similar in style to git_remote_fetch(), performs all the steps required for a push, with a similar interface. The remote callbacks struct has learnt about the push callbacks, letting us set the callbacks a single time instead of setting some in the remote and some in the push operation. | ||||
* | | Rename git_threads_ to git_libgit2_ | Carlos Martín Nieto | 2014-11-08 | 2 | -26/+38 |
|/ | | | | | | This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now. | ||||
* | Merge pull request #2698 from libgit2/cmn/fetchhead-refactor | Edward Thomson | 2014-11-08 | 1 | -0/+11 |
|\ | | | | | Refactor fetchhead | ||||
| * | branch: add getter for the upstream remote name | Carlos Martín Nieto | 2014-11-08 | 1 | -0/+11 |
| | | | | | | | | This gets the value from branch.<foo>.remote. | ||||
* | | Merge pull request #2695 from libgit2/cmn/remote-lookup | Edward Thomson | 2014-11-08 | 1 | -1/+1 |
|\ \ | | | | | | | remote: rename _load() to _lookup() | ||||
| * | | remote: rename _load() to _lookup()cmn/remote-lookup | Carlos Martín Nieto | 2014-11-08 | 1 | -1/+1 |
| |/ | | | | | | | This brings it in line with the rest of the lookup functions. | ||||
* | | git_status_file now takes an exact path | Ungureanu Marius | 2014-11-07 | 1 | -1/+2 |
|/ | | | | | | This function has one output but can match multiple files, which can be unexpected for the user, which would usually path the exact path of the file he wants the status of. | ||||
* | Merge pull request #2676 from libgit2/cmn/threading | Edward Thomson | 2014-11-06 | 1 | -0/+16 |
|\ | | | | | Threading and crypto libraries | ||||
| * | ssl: separate locking init from general init | Carlos Martín Nieto | 2014-11-01 | 1 | -0/+16 |
| | | | | | | | | | | Extract the lock-setting functions into their own, as we cannot assume that it's ok for us to set this unconditionally. | ||||
* | | Merge pull request #2661 from swisspol/2656 | Edward Thomson | 2014-11-03 | 1 | -2/+2 |
|\ \ | | | | | | | Changed context_lines and interhunk_lines to uint32_t to match struct s_xdemitconf | ||||
| * | | Changed context_lines and interhunk_lines to uint32_t to match struct ↵ | Pierre-Olivier Latour | 2014-10-27 | 1 | -2/+2 |
| |/ | | | | | | | s_xdemitconf | ||||
* | | merge: talk about the merging state after git_merge() | Carlos Martín Nieto | 2014-11-02 | 1 | -0/+5 |
|/ | | | | | Since it's not necessarily obvious, mention the merging state and how to clear it. | ||||
* | rebase: updates based on PR comments | Edward Thomson | 2014-10-26 | 1 | -17/+15 |
| | |||||
* | s/git_merge_head/git_annotated_commit | Edward Thomson | 2014-10-26 | 4 | -70/+108 |
| | | | | | Rename git_merge_head to git_annotated_commit, as it becomes used in more operations than just merge. | ||||
* | rebase: oid member of operation should be const | Edward Thomson | 2014-10-26 | 1 | -1/+1 |
| | |||||
* | git_rebase: iterators for operations | Edward Thomson | 2014-10-26 | 1 | -0/+27 |
| | |||||
* | rebase: preload all operations | Edward Thomson | 2014-10-26 | 1 | -2/+2 |
| | |||||
* | rebase: init/open a git_rebase object | Edward Thomson | 2014-10-26 | 2 | -11/+34 |
| | |||||
* | git_rebase_next: provide info about the operation | Edward Thomson | 2014-10-26 | 1 | -6/+68 |
| | |||||
* | git_rebase_finish: rewrite notes when finishing rebase | Edward Thomson | 2014-10-26 | 1 | -1/+12 |
| | |||||
* | Introduce `git_note_author`, `git_note_committer` | Edward Thomson | 2014-10-26 | 1 | -0/+17 |
| | |||||
* | Introduce git_rebase_finish to complete a rebase | Edward Thomson | 2014-10-26 | 1 | -0/+12 |
| | |||||
* | git_rebase_commit: drop already-picked commits | Edward Thomson | 2014-10-26 | 2 | -1/+4 |
| | | | | | | Already cherry-picked commits should not be re-included. If all changes included in a commit exist in the upstream, then we should error with GIT_EAPPLIED. | ||||
* | Introduce git_rebase_commit | Edward Thomson | 2014-10-26 | 1 | -0/+28 |
| | | | | Commit the current patch of a rebase process. | ||||
* | Introduce git_rebase_next | Edward Thomson | 2014-10-26 | 1 | -0/+13 |
| | | | | | | `git_rebase_next` will apply the next patch (or cherry-pick) operation, leaving the results checked out in the index / working directory so that consumers can resolve any conflicts, as appropriate. | ||||
* | Introduce git_rebase_abort | Edward Thomson | 2014-10-26 | 1 | -0/+13 |
| | | | | | Abort an in-progress rebase and move the working directory and repository back to the ORIG_HEAD state. | ||||
* | git_reset: const the git_signature arg | Edward Thomson | 2014-10-26 | 1 | -1/+1 |
| | |||||
* | Introduce git_rebase to set up a rebase session | Edward Thomson | 2014-10-26 | 2 | -0/+74 |
| | | | | | | Introduce `git_rebase` to set up a rebase session that can then be continued. Immediately, only merge-type rebase is supported. | ||||
* | Merge pull request #2638 from libgit2/cmn/config-refresh-remove | Edward Thomson | 2014-10-24 | 2 | -15/+0 |
|\ | | | | | config: remove the refresh function and backend field | ||||
| * | config: remove the refresh function and backend fieldcmn/config-refresh-remove | Carlos Martín Nieto | 2014-10-23 | 2 | -15/+0 |
| | | | | | | | | | | | | We have been refreshing on read and write for a while now, so git_config_refresh() is at best a no-op, and might just end up wasting cycles. | ||||
* | | Merge pull request #2646 from libgit2/cmn/remote-rename | Edward Thomson | 2014-10-24 | 1 | -3/+6 |
|\ \ | | | | | | | remote: accept a repo and name for renaming | ||||
| * | | remote: accept a repo and name for renamingcmn/remote-rename | Carlos Martín Nieto | 2014-10-24 | 1 | -3/+6 |
| |/ | | | | | | | | | | | | | | | | | | | Remote objects are not meant to be changed from under the user. We did this in rename, but only the name and left the refspecs, such that a save would save the wrong refspecs (and a fetch and anything else would use the wrong refspecs). Instead, let's simply take a name and not change any loaded remote from under the user. | ||||
* | | remote: delete git_remote_supported_url()cmn/remove-supported-url | Carlos Martín Nieto | 2014-10-24 | 1 | -13/+0 |
|/ | | | | | | | This function does not in fact tell us anything, as almost anything with a colon in it is a valid rsync-style SSH path; it can not tell us that we do not support ftp or afp or similar as those are still valid SSH paths and we do support that. | ||||
* | Update some documentation | Carlos Martín Nieto | 2014-10-18 | 4 | -27/+47 |
| | |||||
* | Move un-namespaced constant to internal header | Russell Belfer | 2014-10-10 | 1 | -2/+0 |
| | | | | FLAG_BITS only seems to be used internally | ||||
* | Merge pull request #2593 from libgit2/cmn/remote-delete-name | Edward Thomson | 2014-10-10 | 1 | -2/+3 |
|\ | | | | | remote: accept a repository and remote name for deletion | ||||
| * | remote: accept a repository and remote name for deletioncmn/remote-delete-name | Carlos Martín Nieto | 2014-09-30 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | We don't need the remote loaded, and the function extracted both of these from the git_remote in order to do its work, so let's remote a step and not ask for the loaded remote at all. This fixes #2390. | ||||
* | | Merge pull request #2575 from cirosantilli/factor-struct-typedef | Carlos Martín Nieto | 2014-10-10 | 1 | -6/+4 |
|\ \ | | | | | | | [factor] Join typedef and struct definitions in single file. | ||||
| * | | Join typedef and struct definitions in single file. | Ciro Santilli | 2014-09-24 | 1 | -6/+4 |
| | | | |||||
* | | | Merge pull request #2588 from swansontec/ssl-cert-path2 | Carlos Martín Nieto | 2014-10-10 | 1 | -1/+13 |
|\ \ \ | | | | | | | | | Add support for setting the SSL CA location | ||||
| * | | | Add support for setting the SSL CA location | William Swanson | 2014-09-30 | 1 | -1/+13 |
| | |/ | |/| | | | | | | | | | | This allows users to specify self-signed certificates, or to provide their own certificate stores on limited platforms such as mobile phones. | ||||
* | | | Merge pull request #2499 from csware/hard-reset-checkout-callbacks | Carlos Martín Nieto | 2014-10-10 | 1 | -0/+5 |
|\ \ \ | | | | | | | | | Allow to propagate checkout callbacks to git HARD reset | ||||
| * | | | Allow to propagate checkout callbacks to git HARD reset | Sven Strickroth | 2014-08-03 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
* | | | | Merge pull request #2574 from csware/hostname-for-certificate_check_cb | Edward Thomson | 2014-10-10 | 1 | -1/+2 |
|\ \ \ \ | | | | | | | | | | | Provide host name to certificate_check_cb | ||||
| * | | | | Provide host name to certificate_check_cb | Sven Strickroth | 2014-09-22 | 1 | -1/+2 |
| | |/ / | |/| | | | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
* | | | | Treat an empty list of refspecs the same as a NULL value. | Arthur Schreiber | 2014-10-10 | 1 | -3/+3 |
| | | | |