Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | repository: distinguish sequencer cherry-pick and revertcmn/repository-state-sequencer | Carlos Martín Nieto | 2015-11-20 | 1 | -0/+2 |
| | | | | These are not quite like their plain counterparts and require special handling. | ||||
* | Fix @param names in doc comments | Ben Chatelain | 2015-07-27 | 1 | -1/+1 |
| | |||||
* | Add annotated commit versions of reflog-modifying functions | Carlos Martín Nieto | 2015-03-16 | 1 | -0/+16 |
| | | | | | | | We do not always want to put the id directly into the reflog, but we want to speicfy what a user typed. For this use-case we provide annotated version of a few functions which let the caller specify what user-friendly name was used when asking for the operation. | ||||
* | repository: remove log message override for switching the active branch | Carlos Martín Nieto | 2015-03-03 | 1 | -9/+3 |
| | | | | | | We want to use the "checkout: moving from ..." message in order to let git know when a change of branch has happened. Make the convenience functions for this goal write this message. | ||||
* | Remove the signature from ref-modifying functions | Carlos Martín Nieto | 2015-03-03 | 1 | -6/+25 |
| | | | | | | | | | | The signature for the reflog is not something which changes dynamically. Almost all uses will be NULL, since we want for the repository's default identity to be used, making it noise. In order to allow for changing the identity, we instead provide git_repository_set_ident() and git_repository_ident() which allow a user to override the choice of signature. | ||||
* | Clarified git_repository_is_empty() documentation | Pierre-Olivier Latour | 2015-01-27 | 1 | -2/+2 |
| | |||||
* | doc: add documentation to all the public structs and enumscmn/doc-all | Carlos Martín Nieto | 2014-12-06 | 1 | -0/+6 |
| | | | | | | | | | | This makes them show up in the reference, even if the text itself isn't the most descriptive. These have been found with grep -Przon '\n\ntypedef struct.*?\{' -- include grep -Przon '\n\ntypedef enum.*?\{' -- include | ||||
* | Introduce option to use relative paths for repository work directoryjamill/relative_gitlink | Jameson Miller | 2014-09-02 | 1 | -0/+3 |
| | | | | | | | Teach git_repository_init_ext to use relative paths for the gitlink to the work directory. This is used when creating a sub repository where the sub repository resides in the parent repository's .git directory. | ||||
* | git_cherry_pick -> git_cherrypick | Edward Thomson | 2014-07-22 | 1 | -1/+1 |
| | |||||
* | Fixed miscellaneous documentation errors. | Michael Anderson | 2014-05-23 | 1 | -1/+1 |
| | |||||
* | Minor fixes for warnings and error propagation | Russell Belfer | 2014-05-12 | 1 | -1/+5 |
| | |||||
* | Merge pull request #2188 from libgit2/cmn/config-snapshot | Russell Belfer | 2014-05-12 | 1 | -1/+13 |
|\ | | | | | Configuration snapshotting | ||||
| * | repository: introduce a convenience config snapshot methodcmn/config-snapshot | Carlos Martín Nieto | 2014-05-07 | 1 | -1/+13 |
| | | | | | | | | | | | | Accessing the repository's config and immediately taking a snapshot of it is a common operation, so let's provide a convenience function for it. | ||||
* | | Add filter options and ALLOW_UNSAFE | Russell Belfer | 2014-05-06 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | Diff and status do not want core.safecrlf to actually raise an error regardless of the setting, so this extends the filter API with an additional options flags parameter and adds a flag so that filters can be applied with GIT_FILTER_OPT_ALLOW_UNSAFE, indicating that unsafe filter application should be downgraded from a failure to a warning. | ||||
* | | Make init_options fns use unsigned ints and macro | Russell Belfer | 2014-05-02 | 1 | -5/+4 |
|/ | | | | | Use an unsigned int for the version and add a helper macro so the code is simplified (and so the error message is a common string). | ||||
* | Added function-based initializers for every options struct. | Matthew Bowen | 2014-03-05 | 1 | -0/+13 |
| | | | | The basic structure of each function is courtesy of arrbee. | ||||
* | Add reflog params to git_repository_detach_head | Ben Straub | 2014-02-04 | 1 | -1/+5 |
| | |||||
* | Add reflog params to set-head calls | Ben Straub | 2014-01-30 | 1 | -2/+10 |
| | |||||
* | repository: move to use a git_buf for outputting strings | Carlos Martín Nieto | 2014-01-27 | 1 | -19/+7 |
| | | | | | Since we now export that type, we can avoid making the user guess a size. | ||||
* | Update docs for new callback return value behavior | Russell Belfer | 2013-12-11 | 1 | -6/+14 |
| | |||||
* | clean up state metadata more consistently | Edward Thomson | 2013-12-02 | 1 | -3/+3 |
| | |||||
* | No such thing as an orphan branch | Carlos Martín Nieto | 2013-09-17 | 1 | -6/+6 |
| | | | | | | | | | | | Unfortunately git-core uses the term "unborn branch" and "orphan branch" interchangeably. However, "orphan" is only really there for the checkout command, which has the `--orphan` option so it doesn't actually create the branch. Branches never have parents, so the distinction of a branch with no parents is odd to begin with. Crucially, the error messages deal with unborn branches, so let's use that. | ||||
* | Add BARE option to git_repository_open_ext | Russell Belfer | 2013-07-10 | 1 | -0/+4 |
| | | | | | | | | | | | This adds a BARE option to git_repository_open_ext which allows a fast open path that still knows how to read gitlinks and to search for the actual .git directory from a subdirectory. `git_repository_open_bare` is still simpler and faster, but having a gitlink aware fast open is very useful for submodules where we want to quickly be able to peek at the HEAD and index data without doing any other meaningful repo operations. | ||||
* | Fix small typo in docs for git_repository_message. | Andrej Mitrovic | 2013-07-02 | 1 | -1/+1 |
| | |||||
* | Fix docs to use proper enum names that exist. | Andrej Mitrovic | 2013-07-01 | 1 | -2/+2 |
| | |||||
* | Fixed most documentation header bugs | Andreas Linde | 2013-06-24 | 1 | -1/+1 |
| | | | | | | | | | | | Fixed a few header @param and @return typos with the help of -Wdocumentation in Xcode. The following warnings have not been fixed: common.h:213 - Not sure how the documentation format is for '...' notes.h:102 - Correct @param name but empty text notes.h:111 - Correct @param name but empty text pack.h:140 - @return missing text pack.h:148 - @return missing text | ||||
* | Improve test failure output | Ben Straub | 2013-05-23 | 1 | -0/+9 |
| | |||||
* | Unify whitespaces to tabs | Linquize | 2013-05-15 | 1 | -5/+5 |
| | |||||
* | Fix git_repository_message docs | Russell Belfer | 2013-05-09 | 1 | -2/+11 |
| | | | | | | | | This clarifies the docs for git_repository_message and also adds to the tests to explicitly check NUL termination of data when the output buffer is smaller than the message size. There is a minor behavior change so that a non-NULL output buffer will always be NUL terminated (at length zero) if an error occurs. | ||||
* | lol namespacesvmg/namespaces | Vicent Marti | 2013-04-30 | 1 | -0/+22 |
| | |||||
* | Move some low-level repo fns to include/git2/sys | Russell Belfer | 2013-04-21 | 1 | -70/+0 |
| | |||||
* | Added git_repository_new function | John Wiegley | 2013-04-21 | 1 | -0/+8 |
| | |||||
* | repository: Doc fix | Vicent Marti | 2013-04-18 | 1 | -3/+1 |
| | |||||
* | repository: Add `git_repository_open_bare`vmg/bare-open | Vicent Marti | 2013-04-17 | 1 | -0/+15 |
| | |||||
* | immutable references and a pluggable ref database | Edward Thomson | 2013-03-07 | 1 | -0/+33 |
| | |||||
* | update copyrights | Edward Thomson | 2013-01-08 | 1 | -1/+1 |
| | |||||
* | Correct typos in documentation | Kevin Sawicki | 2013-01-06 | 1 | -1/+1 |
| | |||||
* | MERGE_HEAD contents iterator | Edward Thomson | 2013-01-03 | 1 | -0/+16 |
| | |||||
* | expose merge metadata cleanup | Edward Thomson | 2013-01-03 | 1 | -0/+9 |
| | |||||
* | fetchhead reading/iterating | Edward Thomson | 2012-12-19 | 1 | -0/+18 |
| | |||||
* | Allow compilation as C++ | Ben Straub | 2012-12-06 | 1 | -1/+1 |
| | |||||
* | Add version fields and init macros for public input structs. | Ben Straub | 2012-11-30 | 1 | -0/+4 |
| | |||||
* | Various minor commenting fixes | Russell Belfer | 2012-11-27 | 1 | -1/+5 |
| | |||||
* | Typedef enums. | Ben Straub | 2012-11-27 | 1 | -5/+5 |
| | |||||
* | API updates for repository.h | Ben Straub | 2012-11-27 | 1 | -24/+24 |
| | |||||
* | repo: ensure is_empty() checks there are no refs | nulltoken | 2012-11-17 | 1 | -1/+1 |
| | |||||
* | repository: Refine repository_head() error report | nulltoken | 2012-11-12 | 1 | -1/+1 |
| | |||||
* | repo: enhance git_repository_state() detection | nulltoken | 2012-10-27 | 1 | -0/+6 |
| | |||||
* | reset changes for merge | Edward Thomson | 2012-10-24 | 1 | -0/+16 |
| | |||||
* | repository: Typo | Vicent Marti | 2012-10-19 | 1 | -1/+1 |
| |