Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | attr: Do not export variables externallyattr-export | Vicent Marti | 2012-08-02 | 1 | -9/+25 |
| | | | | | | | | | | Fixes #824 Exporting variables in a dynamic library is a PITA. Let's keep these values internally and wrap them through a helper method. This doesn't break the external API. @arrbee, aren't you glad I turned the `GIT_ATTR_` macros into function macros? :sparkles: | ||||
* | Add function to query for compile time settings. | Sascha Cunz | 2012-08-01 | 1 | -0/+23 |
| | |||||
* | Merge pull request #833 from carlosmn/odb-one | Vicent Martí | 2012-07-31 | 2 | -0/+14 |
|\ | | | | | odb: allow creating an ODB backend from a packfile index | ||||
| * | repo: add git_repository_wrap_odb() to wrap an ODB | Carlos Martín Nieto | 2012-07-21 | 1 | -0/+13 |
| | | | | | | | | Primarily useful when used together with git_odb_backend_one_pack(). | ||||
| * | odb: allow creating an ODB backend from a packfile index | Carlos Martín Nieto | 2012-07-21 | 1 | -0/+1 |
| | | | | | | | | | | git_odb_backend_one_packfile() allows us to create an ODB backend out of an .idx file. | ||||
* | | git_oid_cmp: inline memcmp by hand to optimize | Michael Schubert | 2012-07-29 | 1 | -1/+25 |
| | | | | | | | | | | | | | | | | | | git.git uses an inlined hashcmp function instead of memcmp, since it performes much better when comparing hashes (most hashes compared diverge within the first byte). Measurements and rationale for the curious reader: http://thread.gmane.org/gmane.comp.version-control.git/172286 | ||||
* | | Merge pull request #834 from carlosmn/network-callbacks | Vicent Martí | 2012-07-27 | 2 | -1/+35 |
|\ \ | | | | | | | Add a struct for network callbacks | ||||
| * | | Add a struct for network callbacks | Carlos Martín Nieto | 2012-07-21 | 2 | -1/+35 |
| |/ | | | | | | | | | Currently only update_tips is used, but it prepares the way for progress output during download. | ||||
* | | branch: Add `repository` argument to `create` | Vicent Marti | 2012-07-27 | 1 | -0/+1 |
| | | | | | | | | | | Yes, we can get the repository from the owner of the object, but having it marked explicitly makes the API more consistent. | ||||
* | | Merge remote-tracking branch 'nulltoken/topic/branch-rework' into development | Vicent Marti | 2012-07-27 | 2 | -29/+52 |
|\ \ | |||||
| * | | refs: drop git_reference_remote_tracking_from_branch() | nulltoken | 2012-07-24 | 1 | -21/+0 |
| | | | |||||
| * | | branch: introduce git_branch_tracking() | nulltoken | 2012-07-24 | 1 | -0/+16 |
| | | | |||||
| * | | branch: make git_branch_move() reference based | nulltoken | 2012-07-24 | 1 | -9/+4 |
| | | | |||||
| * | | branch: slight git_branch_create() doc improvement | nulltoken | 2012-07-24 | 1 | -2/+2 |
| | | | |||||
| * | | branch: introduce git_reference_is_branch() | nulltoken | 2012-07-24 | 1 | -0/+10 |
| | | | |||||
| * | | branch: introduce git_branch_lookup() | nulltoken | 2012-07-24 | 1 | -0/+24 |
| | | | |||||
| * | | branch: change git_branch_create() to make it return a reference | nulltoken | 2012-07-24 | 1 | -4/+3 |
| | | | |||||
* | | | reflog: Rename `entry_drop` to `drop` | Vicent Marti | 2012-07-27 | 1 | -1/+1 |
| | | | |||||
* | | | Merge remote-tracking branch 'nulltoken/topic/reflog-delete' into development | Vicent Marti | 2012-07-27 | 1 | -8/+36 |
|\ \ \ | |||||
| * | | | reflog: prevent git_reflog_append() from persisting the reflog back to disk | nulltoken | 2012-07-25 | 1 | -9/+4 |
| | | | | |||||
| * | | | reflog: prevent git_reflog_read() from chocking when no log exists yet | nulltoken | 2012-07-25 | 1 | -0/+4 |
| | | | | |||||
| * | | | reflog: introduce git_reflog_write() | nulltoken | 2012-07-25 | 1 | -0/+9 |
| | | | | |||||
| * | | | reflog: rename git_reflog_write() to git_reflog_append() | nulltoken | 2012-07-25 | 1 | -2/+2 |
| | | | | |||||
| * | | | reflog: introduce git_reflog_entry_drop() | nulltoken | 2012-07-25 | 1 | -0/+20 |
| |/ / | |||||
* | | | Remotes: Setter for url+pushurl; Getter for pushurl | Sascha Cunz | 2012-07-26 | 1 | -0/+30 |
| | | | |||||
* | | | Add flag to turn off pathspec testing for diff and status | yorah | 2012-07-24 | 2 | -0/+4 |
|/ / | |||||
* | | Merge pull request #818 from nulltoken/rework | Vicent Martí | 2012-07-21 | 1 | -0/+17 |
|\ \ | |/ |/| | Revparse rework | ||||
| * | object: introduce git_object_peel() | nulltoken | 2012-07-17 | 1 | -0/+17 |
| | | | | | | | | Partially fix #530 | ||||
* | | attr: Rename the `git_attr__` exports | Vicent Marti | 2012-07-15 | 1 | -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 Nieto | 2012-07-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #789 from carlosmn/odb-foreach | Vicent Martí | 2012-07-12 | 2 | -0/+20 |
|\ | | | | | odb: add git_odb_foreach() | ||||
| * | odb: add git_odb_foreach() | Carlos Martín Nieto | 2012-07-03 | 2 | -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-parsing | Vicent Martí | 2012-07-12 | 1 | -0/+3 |
|\ \ | | | | | | | Fix revwalk email parsing | ||||
| * | | signature: prevent angle bracket usage in identity | nulltoken | 2012-07-11 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #814 from nulltoken/topic/revparse-refac | Vicent Martí | 2012-07-12 | 2 | -0/+40 |
|\ \ \ | | | | | | | | | Revparse refactoring: a start | ||||
| * | | | refs: introduce git_reference_remote_tracking_from_branch() | nulltoken | 2012-07-12 | 1 | -0/+21 |
| | | | | |||||
| * | | | commit: introduce git_commit_nth_gen_ancestor() | nulltoken | 2012-07-12 | 1 | -0/+19 |
| |/ / | |||||
* | | | Merge pull request #812 from arrbee/assorted-tweaks | Vicent Martí | 2012-07-12 | 2 | -2/+23 |
|\ \ \ | |/ / |/| | | Assorted goodies | ||||
| * | | Add flag to write gitlink on setting repo workdir | Russell Belfer | 2012-07-10 | 1 | -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 fn | Russell Belfer | 2012-07-10 | 1 | -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 includes | Vicent Marti | 2012-07-11 | 1 | -0/+2 |
| | | | |||||
* | | | Merge pull request #801 from nulltoken/fix/ref-renaming | Vicent Martí | 2012-07-11 | 2 | -0/+12 |
|\ \ \ | |/ / |/| | | refs and revparse love <3 | ||||
| * | | refs: deploy git_reference_has_log() | nulltoken | 2012-07-07 | 1 | -0/+2 |
| | | | |||||
| * | | refs: add git_reference_has_log() | nulltoken | 2012-07-07 | 1 | -0/+10 |
| | | | |||||
* | | | Merge pull request #793 from libgit2/tree-entry-by-path | Russell Belfer | 2012-07-10 | 1 | -14/+53 |
|\ \ \ | | | | | | | | | Bring back `entry_bypath` | ||||
| * | | | tree: Rename `entry_copy` to `entry_dup`tree-entry-by-path | Vicent Marti | 2012-06-29 | 1 | -2/+2 |
| | | | | |||||
| * | | | tree: Bring back `entry_bypath` | Vicent Marti | 2012-06-29 | 1 | -14/+53 |
| | |/ | |/| | | | | | | | Smaller, simpler, faster. | ||||
* | | | Merge pull request #797 from yorah/fix/inter-hunk-context | Russell Belfer | 2012-07-10 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | diff: make inter-hunk-context default value git-compliant | ||||
| * | | diff: make inter-hunk-context default value git-compliant | yorah | 2012-07-02 | 1 | -1/+1 |
| |/ | | | | | | | Default in git core is 0, not 3 | ||||
* | | Replace incorrect 'it' with 'if' in documentation | Kevin Sawicki | 2012-07-03 | 1 | -2/+2 |
|/ |