Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | features: Rename `_HAS_` to `_FEATURE_`vmg/features | Vicent Marti | 2014-03-03 | 1 | -7/+7 |
| | |||||
* | caps: Rename the enum name too! | Vicent Marti | 2014-03-03 | 1 | -1/+1 |
| | |||||
* | caps: Rename to features to avoid confusion | Vicent Marti | 2014-03-03 | 1 | -8/+13 |
| | |||||
* | Add buffer to buffer diff and patch APIs | Russell Belfer | 2014-02-27 | 2 | -0/+61 |
| | | | | | | | | This adds `git_diff_buffers` and `git_patch_from_buffers`. This also includes a bunch of internal refactoring to increase the shared code between these functions and the blob-to-blob and blob-to-buffer APIs, as well as some higher level assert helpers in the tests to also remove redundancy. | ||||
* | Merge pull request #2137 from jru/blame-first-parent | Ben Straub | 2014-02-26 | 1 | -0/+3 |
|\ | | | | | Blame first-parent history | ||||
| * | Document enumerator and rewording | Juan Rubén | 2014-02-24 | 1 | -1/+2 |
| | | |||||
| * | Add option to limit blame to first parent | Juan Rubén | 2014-02-23 | 1 | -0/+2 |
| | | |||||
* | | Improve documentation for merging | Edward Thomson | 2014-02-21 | 1 | -33/+127 |
| | | |||||
* | | Address PR comments | Russell Belfer | 2014-02-20 | 2 | -13/+6 |
| | | | | | | | | | | | | | | * Make GIT_INLINE an internal definition so it cannot be used in public headers * Fix language in CONTRIBUTING * Make index caps API use signed instead of unsigned values | ||||
* | | Make git_oid_equal a non-inline API | Russell Belfer | 2014-02-20 | 1 | -4/+1 |
|/ | |||||
* | refs: move current_id before the reflog parameters | Carlos Martín Nieto | 2014-02-10 | 1 | -4/+4 |
| | | | | | Keep the reflog parameters as the last two, as they're the optional parameters. | ||||
* | refs: conditional wording fixups | Carlos Martín Nieto | 2014-02-10 | 1 | -8/+11 |
| | | | | | This addresses arrbee's concerns about wording in the conditional reference udpate functions. | ||||
* | Add git_commit_amend API | Russell Belfer | 2014-02-07 | 2 | -10/+75 |
| | | | | | | | | | This adds an API to amend an existing commit, basically a shorthand for creating a new commit filling in missing parameters from the values of an existing commit. As part of this, I also added a new "sys" API to create a commit using a callback to get the parents. This allowed me to rewrite all the other commit creation APIs so that temporary allocations are no longer needed. | ||||
* | Merge pull request #2099 from libgit2/bs/more-reflog-stuff | Russell Belfer | 2014-02-07 | 4 | -5/+39 |
|\ | | | | | More reflogness | ||||
| * | Correct default reflog message for git_remote_fetch | Ben Straub | 2014-02-06 | 1 | -1/+2 |
| | | |||||
| * | Fix terrible indentation | Ben Straub | 2014-02-06 | 2 | -2/+2 |
| | | |||||
| * | Merge remote-tracking branch 'libgit2/development' into bs/more-reflog-stuff | Ben Straub | 2014-02-05 | 1 | -6/+12 |
| |\ | |||||
| * | | Add reflog params to git_repository_detach_head | Ben Straub | 2014-02-04 | 1 | -1/+5 |
| | | | |||||
| * | | Add reflog parameters to remote apis | Ben Straub | 2014-02-04 | 1 | -2/+14 |
| | | | | | | | | | Also added a test for git_remote_fetch. | ||||
| * | | Add reflog parameters to git_push_update_tips | Ben Straub | 2014-02-04 | 1 | -1/+7 |
| | | | |||||
| * | | Add reflog parameters to git_reset | Ben Straub | 2014-02-03 | 1 | -1/+12 |
| | | | |||||
* | | | Merge pull request #2042 from libgit2/cmn/conditional-ref | Russell Belfer | 2014-02-07 | 3 | -9/+106 |
|\ \ \ | |_|/ |/| | | refs: conditional ref updates | ||||
| * | | refs: add an unconditional delete | Carlos Martín Nieto | 2014-02-05 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | Add it under the git_reference_remove() name, letting the user pass the repo and name, analogous to unconditional setting/creation. | ||||
| * | | refs: check the ref's old value when deleting | Carlos Martín Nieto | 2014-02-05 | 1 | -1/+4 |
| | | | | | | | | | | | | Recognize when the reference has changed since we loaded it. | ||||
| * | | refs: placeholder conditional delete | Carlos Martín Nieto | 2014-02-05 | 1 | -1/+1 |
| | | | | | | | | | | | | We don't actually pass the old value yet. | ||||
| * | | refs: bring conditional symbolic updates to the frontend | Carlos Martín Nieto | 2014-02-05 | 1 | -0/+40 |
| | | | | | | | | | | | | Bring the race detection goodness to symbolic references as well. | ||||
| * | | refdb: add conditional symbolic updates | Carlos Martín Nieto | 2014-02-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Add a parameter to the backend to allow checking for the old symbolic target. | ||||
| * | | refs: return GIT_EMODIFIED if the ref target moved | Carlos Martín Nieto | 2014-02-05 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | In case we loose the race to update the reference, return GIT_EMODIFIED to let the user distinguish it from other types of errors. | ||||
| * | | refs: changes from feedback | Carlos Martín Nieto | 2014-02-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Change the name to _matching() intead of _if(), and force _set_target() to be a conditional update. If the user doesn't care about the old value, they should use git_reference_create(). | ||||
| * | | refs: conditional ref updates | Carlos Martín Nieto | 2014-02-05 | 2 | -6/+46 |
| |/ | | | | | | | Allow updating references if the old value matches the given one. | ||||
* | | Merge pull request #2094 from libgit2/cmn/push-non-commit | Russell Belfer | 2014-02-05 | 1 | -4/+10 |
|\ \ | | | | | | | Add flexibility to the revwalk API | ||||
| * | | revwalk: ignore wrong object type in glob pushes | Carlos Martín Nieto | 2014-02-05 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | Pushing a whole namespace can cause us to attempt to push non-committish objects. Catch this situation and special-case it for ignoring this. | ||||
| * | | revwalk: accept committish objects | Carlos Martín Nieto | 2014-02-05 | 1 | -4/+4 |
| |/ | | | | | | | | | | | | | | | | | | | | | Let the user push committish objects and peel them to figure out which commit to push to our queue. This is for convenience and for allowing uses of git_revwalk_push_glob(w, "tags") with annotated tags. | ||||
* | | docs: produce literal asterisks | Carlos Martín Nieto | 2014-02-05 | 1 | -2/+2 |
|/ | |||||
* | Add `git_reference_is_note`. | Arthur Schreiber | 2014-02-02 | 1 | -0/+10 |
| | |||||
* | Document branch-creation reflog better | Ben Straub | 2014-01-30 | 1 | -1/+3 |
| | |||||
* | Ensure renaming a reference updates the reflog | Ben Straub | 2014-01-30 | 1 | -1/+5 |
| | |||||
* | Add reflog parameters to git_branch_move | Ben Straub | 2014-01-30 | 1 | -1/+7 |
| | |||||
* | Augment clone API with reflog parameters | Ben Straub | 2014-01-30 | 1 | -1/+6 |
| | |||||
* | Add reflog params to git_branch_create | Ben Straub | 2014-01-30 | 1 | -1/+7 |
| | |||||
* | Add reflog params to set-head calls | Ben Straub | 2014-01-30 | 1 | -2/+10 |
| | |||||
* | Some fixes for Windows x64 warnings | Russell Belfer | 2014-01-30 | 1 | -1/+1 |
| | |||||
* | Make submodule fetchRecurse match other options | Russell Belfer | 2014-01-30 | 2 | -13/+19 |
| | | | | | | This removes the fetchRecurse compiler warnings and makes the behavior match the other submodule options (i.e. the in-memory setting can be reset to the on-disk value). | ||||
* | Some missing oid to id renames | Russell Belfer | 2014-01-30 | 1 | -2/+3 |
| | |||||
* | Add `git_graph_descendant_of`. | Arthur Schreiber | 2014-01-28 | 1 | -0/+14 |
| | |||||
* | Merge pull request #2075 from libgit2/cmn/leftover-oid | Vicent Marti | 2014-01-27 | 6 | -15/+15 |
|\ | | | | | Leftover OID -> ID changes | ||||
| * | merge: rename _oid() -> id() | Carlos Martín Nieto | 2014-01-25 | 1 | -4/+4 |
| | | | | | | | | Following the rest of the series, use 'id' when refering to the value. | ||||
| * | diff: change id abbrev option's name to id_abbrev | Carlos Martín Nieto | 2014-01-25 | 1 | -1/+1 |
| | | | | | | | | | | Same as the other commits in the series, we use 'id' when talking about thing rather than the datatype. | ||||
| * | diff: rename the file's 'oid' to 'id' | Carlos Martín Nieto | 2014-01-25 | 1 | -2/+2 |
| | | | | | | | | In the same vein as the previous commits in this series. | ||||
| * | tree: remove legacy 'oid' naming | Carlos Martín Nieto | 2014-01-25 | 1 | -3/+3 |
| | | | | | | | | Rename git_tree_entry_byoid() to _byid() as per the convention. |