summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* checkout: introduce git_checkout_optsBen Straub2012-07-261-3/+33
| | | | | Refactor checkout into several more-sensible entry points, which consolidates common options into a single structure that may be passed around.
* Merge branch 'development' into cloneBen Straub2012-07-1718-79/+217
|\
| * attr: Rename the `git_attr__` exportsVicent Marti2012-07-151-8/+8
| | | | | | | | | | | | | | Pevents collisions with the original libgit, which also exports those exact symbols. Fixes #822
| * commit: properly export git_commit_nth_gen_ancestor()Carlos Martín Nieto2012-07-121-1/+1
| |
| * Merge pull request #789 from carlosmn/odb-foreachVicent Martí2012-07-122-0/+20
| |\ | | | | | | odb: add git_odb_foreach()
| | * odb: add git_odb_foreach()Carlos Martín Nieto2012-07-032-0/+20
| | | | | | | | | | | | | | | Go through each backend and list every objects that exists in them. This allows fsck-like uses.
| * | Merge pull request #805 from nulltoken/fix/revwalk-email-parsingVicent Martí2012-07-121-0/+3
| |\ \ | | | | | | | | Fix revwalk email parsing
| | * | signature: prevent angle bracket usage in identitynulltoken2012-07-111-0/+3
| | | |
| * | | Merge pull request #814 from nulltoken/topic/revparse-refacVicent Martí2012-07-122-0/+40
| |\ \ \ | | | | | | | | | | Revparse refactoring: a start
| | * | | refs: introduce git_reference_remote_tracking_from_branch()nulltoken2012-07-121-0/+21
| | | | |
| | * | | commit: introduce git_commit_nth_gen_ancestor()nulltoken2012-07-121-0/+19
| | |/ /
| * | | Merge pull request #812 from arrbee/assorted-tweaksVicent Martí2012-07-122-2/+23
| |\ \ \ | | |/ / | |/| | Assorted goodies
| | * | Add flag to write gitlink on setting repo workdirRussell Belfer2012-07-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This added a flag to the `git_repository_set_workdir()` function that enables generation of a `.git` gitlink file that links the new workdir to the parent repository. Essentially, the flag tells the function to write out the changes to disk to permanently set the workdir of the repository to the new path. If you pass this flag as true, then setting the workdir to something other than the default workdir (i.e. the parent of the .git repo directory), will create a plain file named ".git" with the standard gitlink contents "gitdir: <repo-path>", and also update the "core.worktree" and "core.bare" config values. Setting the workdir to the default repo workdir will clear the core.worktree flag (but still permanently set core.bare to false). BTW, the libgit2 API does not currently provide a function for clearing the workdir and converting a non-bare repo into a bare one.
| | * | Adding git_config_foreach_match() iteration fnRussell Belfer2012-07-101-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a new config iteration function that let's you iterate over just the config entries that match a particular regular expression. The old foreach becomes a simple use of this with an empty pattern. This also fixes an apparent bug in the existing `git_config_foreach` where returning a non-zero value from the iteration callback was not correctly aborting the iteration and the returned value was not being propogated back to the caller of foreach. Added to tests to cover all these changes.
| * | | Add missing includesVicent Marti2012-07-111-0/+2
| | | |
| * | | Merge pull request #801 from nulltoken/fix/ref-renamingVicent Martí2012-07-112-0/+12
| |\ \ \ | | |/ / | |/| | refs and revparse love <3
| | * | refs: deploy git_reference_has_log()nulltoken2012-07-071-0/+2
| | | |
| | * | refs: add git_reference_has_log()nulltoken2012-07-071-0/+10
| | | |
| * | | Merge pull request #793 from libgit2/tree-entry-by-pathRussell Belfer2012-07-101-14/+53
| |\ \ \ | | | | | | | | | | Bring back `entry_bypath`
| | * | | tree: Rename `entry_copy` to `entry_dup`tree-entry-by-pathVicent Marti2012-06-291-2/+2
| | | | |
| | * | | tree: Bring back `entry_bypath`Vicent Marti2012-06-291-14/+53
| | | |/ | | |/| | | | | | | | | Smaller, simpler, faster.
| * | | Merge pull request #797 from yorah/fix/inter-hunk-contextRussell Belfer2012-07-101-1/+1
| |\ \ \ | | |_|/ | |/| | diff: make inter-hunk-context default value git-compliant
| | * | diff: make inter-hunk-context default value git-compliantyorah2012-07-021-1/+1
| | |/ | | | | | | | | | Default in git core is 0, not 3
| * | Replace incorrect 'it' with 'if' in documentationKevin Sawicki2012-07-031-2/+2
| |/
| * indexer: don't use '/objects/pack/' unconditionallyCarlos Martín Nieto2012-06-281-2/+2
| | | | | | | | | | Not everyone who indexes a packfile wants to put it in the standard git repository location.
| * Merge pull request #785 from nulltoken/topic/refs-fromglobVicent Martí2012-06-251-1/+30
| |\ | | | | | | Topic/refs fromglob
| | * references: introduce git_reference_foreach_glob()nulltoken2012-06-221-1/+30
| | |
| * | amigaos: CleanupVicent Marti2012-06-221-39/+1
| | |
| * | Merge branch 'pull-req' of https://github.com/chris-y/libgit2 into amigaosVicent Marti2012-06-223-1/+10
| |\ \ | | |/ | |/|
| | * Updates from comments on OS4 compatibility pull request ↵Chris Young2012-06-141-2/+0
| | | | | | | | | | | | http://github.com/libgit2/libgit2/pull/766
| | * Merge remote-tracking branch 'source/development' into developmentChris Young2012-06-137-24/+167
| | |\
| | * | Fix gethostbyname compatibilityChris Young2012-06-091-5/+1
| | | |
| | * | Generic needs compat filesChris Young2012-06-081-1/+1
| | | |
| | * | OS4 compatibilityChris Young2012-06-081-0/+2
| | | |
| | * | Fix double-defines when using GIT_OLD_ERRORSChris Young2012-06-071-1/+3
| | | |
| | * | Network byte order is big-endian - the way it should be :)Chris Young2012-06-071-0/+8
| | | |
| | * | Merge remote-tracking branch 'source/development' into update-testChris Young2012-06-0737-1182/+3774
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging main libgit2! Conflicts: CMakeLists.txt src/unix/map.c
| | * | | Required include for OS4 to typedef int64_tChris Young2012-06-051-0/+3
| | | | |
| * | | | branch: drop git_branch_list()nulltoken2012-06-211-24/+0
| | | | |
| * | | | branch: add git_branch_foreach()nulltoken2012-06-211-0/+25
| | | | |
* | | | | Fix documentation comment to match actual params.Ben Straub2012-07-131-4/+1
| | | | |
* | | | | Clone: new home for git_checkout_force.Ben Straub2012-06-211-0/+38
| | | | |
* | | | | Add progress reporting to clone.Ben Straub2012-06-211-3/+6
| | | | |
* | | | | Add git_clone and git_clone_bare.Ben Straub2012-06-212-0/+46
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far they only create a repo, setup the "origin" remote, and fetch. The API probably needs work as well; there's no way to get progress information at this point. Also uncovered a shortcoming; git_remote_download doesn't fetch over local transport.
* | | | Merge pull request #775 from arrbee/fix-index-filemodesVicent Martí2012-06-191-0/+29
|\ \ \ \ | | | | | | | | | | Make index add/append support core.filemode flag
| * | | | Nicer constantRussell Belfer2012-06-191-1/+1
| | | | |
| * | | | Make index add/append support core.filemode flagRussell Belfer2012-06-191-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes git_index_add and git_index_append to behave more like core git, preserving old filemode data in the index when adding and/or appending with core.filemode = false. This also has placeholder support for core.symlinks and core.ignorecase, but those flags are not implemented (well, symlinks has partial support for preserving mode information in the same way that git does, but it isn't tested).
* | | | | message: Expose git_message_prettify()nulltoken2012-06-194-4/+46
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git_commit() and git_tag() no longer prettify the message by default. This has to be taken care of by the caller. This has the nice side effect of putting the caller in position to actually choose to strip the comments or not.
* | | | Merge pull request #753 from nulltoken/topic/merge-base-manyVicent Martí2012-06-181-0/+10
|\ \ \ \ | |_|_|/ |/| | | Expose git_merge_base_many()
| * | | merge: Expose git_merge_base_many()nulltoken2012-06-071-0/+10
| | | |