summaryrefslogtreecommitdiff
path: root/include/git2
Commit message (Collapse)AuthorAgeFilesLines
* features: Rename `_HAS_` to `_FEATURE_`vmg/featuresVicent Marti2014-03-031-7/+7
|
* caps: Rename the enum name too!Vicent Marti2014-03-031-1/+1
|
* caps: Rename to features to avoid confusionVicent Marti2014-03-031-8/+13
|
* Add buffer to buffer diff and patch APIsRussell Belfer2014-02-272-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-parentBen Straub2014-02-261-0/+3
|\ | | | | Blame first-parent history
| * Document enumerator and rewordingJuan Rubén2014-02-241-1/+2
| |
| * Add option to limit blame to first parentJuan Rubén2014-02-231-0/+2
| |
* | Improve documentation for mergingEdward Thomson2014-02-211-33/+127
| |
* | Address PR commentsRussell Belfer2014-02-202-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 APIRussell Belfer2014-02-201-4/+1
|/
* refs: move current_id before the reflog parametersCarlos Martín Nieto2014-02-101-4/+4
| | | | | Keep the reflog parameters as the last two, as they're the optional parameters.
* refs: conditional wording fixupsCarlos Martín Nieto2014-02-101-8/+11
| | | | | This addresses arrbee's concerns about wording in the conditional reference udpate functions.
* Add git_commit_amend APIRussell Belfer2014-02-072-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-stuffRussell Belfer2014-02-074-5/+39
|\ | | | | More reflogness
| * Correct default reflog message for git_remote_fetchBen Straub2014-02-061-1/+2
| |
| * Fix terrible indentationBen Straub2014-02-062-2/+2
| |
| * Merge remote-tracking branch 'libgit2/development' into bs/more-reflog-stuffBen Straub2014-02-051-6/+12
| |\
| * | Add reflog params to git_repository_detach_headBen Straub2014-02-041-1/+5
| | |
| * | Add reflog parameters to remote apisBen Straub2014-02-041-2/+14
| | | | | | | | | Also added a test for git_remote_fetch.
| * | Add reflog parameters to git_push_update_tipsBen Straub2014-02-041-1/+7
| | |
| * | Add reflog parameters to git_resetBen Straub2014-02-031-1/+12
| | |
* | | Merge pull request #2042 from libgit2/cmn/conditional-refRussell Belfer2014-02-073-9/+106
|\ \ \ | |_|/ |/| | refs: conditional ref updates
| * | refs: add an unconditional deleteCarlos Martín Nieto2014-02-051-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 deletingCarlos Martín Nieto2014-02-051-1/+4
| | | | | | | | | | | | Recognize when the reference has changed since we loaded it.
| * | refs: placeholder conditional deleteCarlos Martín Nieto2014-02-051-1/+1
| | | | | | | | | | | | We don't actually pass the old value yet.
| * | refs: bring conditional symbolic updates to the frontendCarlos Martín Nieto2014-02-051-0/+40
| | | | | | | | | | | | Bring the race detection goodness to symbolic references as well.
| * | refdb: add conditional symbolic updatesCarlos Martín Nieto2014-02-051-1/+1
| | | | | | | | | | | | | | | Add a parameter to the backend to allow checking for the old symbolic target.
| * | refs: return GIT_EMODIFIED if the ref target movedCarlos Martín Nieto2014-02-052-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 feedbackCarlos Martín Nieto2014-02-051-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 updatesCarlos Martín Nieto2014-02-052-6/+46
| |/ | | | | | | Allow updating references if the old value matches the given one.
* | Merge pull request #2094 from libgit2/cmn/push-non-commitRussell Belfer2014-02-051-4/+10
|\ \ | | | | | | Add flexibility to the revwalk API
| * | revwalk: ignore wrong object type in glob pushesCarlos Martín Nieto2014-02-051-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 objectsCarlos Martín Nieto2014-02-051-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 asterisksCarlos Martín Nieto2014-02-051-2/+2
|/
* Add `git_reference_is_note`.Arthur Schreiber2014-02-021-0/+10
|
* Document branch-creation reflog betterBen Straub2014-01-301-1/+3
|
* Ensure renaming a reference updates the reflogBen Straub2014-01-301-1/+5
|
* Add reflog parameters to git_branch_moveBen Straub2014-01-301-1/+7
|
* Augment clone API with reflog parametersBen Straub2014-01-301-1/+6
|
* Add reflog params to git_branch_createBen Straub2014-01-301-1/+7
|
* Add reflog params to set-head callsBen Straub2014-01-301-2/+10
|
* Some fixes for Windows x64 warningsRussell Belfer2014-01-301-1/+1
|
* Make submodule fetchRecurse match other optionsRussell Belfer2014-01-302-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 renamesRussell Belfer2014-01-301-2/+3
|
* Add `git_graph_descendant_of`.Arthur Schreiber2014-01-281-0/+14
|
* Merge pull request #2075 from libgit2/cmn/leftover-oidVicent Marti2014-01-276-15/+15
|\ | | | | Leftover OID -> ID changes
| * merge: rename _oid() -> id()Carlos Martín Nieto2014-01-251-4/+4
| | | | | | | | Following the rest of the series, use 'id' when refering to the value.
| * diff: change id abbrev option's name to id_abbrevCarlos Martín Nieto2014-01-251-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 Nieto2014-01-251-2/+2
| | | | | | | | In the same vein as the previous commits in this series.
| * tree: remove legacy 'oid' namingCarlos Martín Nieto2014-01-251-3/+3
| | | | | | | | Rename git_tree_entry_byoid() to _byid() as per the convention.