Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make reference lookups apply precomposeunicode | Russell Belfer | 2013-10-08 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | Before these changes, looking up a reference would return the same precomposed or decomposed form of the reference name that was used to look it up, so on MacOS which ignores the difference between the two, a single reference could be looked up either way and git_reference_name would return the form of the name that was used to look it up! This change makes lookup always return the precomposed name if core.precomposeunicode is set regardless of which version was used to look it up. The reference iterator was already returning the precomposed form from earlier work. This also updates the CMakeLists.txt rules for enabling iconv usage because the clar tests for this code were actually not being activated properly with the old version. Finally, this moves git_repository_reset_filesystem from include/ git2/repository.h to include/git2/sys/repository.h since it is not really a function that normal library users should have to think about very often. | ||||
* | refs: add git_reference_is_tag | Nikolai Vladimirov | 2013-08-26 | 1 | -0/+9 |
| | |||||
* | Fix docs to use proper enum names that exist. | Andrej Mitrovic | 2013-07-01 | 1 | -7/+7 |
| | |||||
* | Fixed most documentation header bugs | Andreas Linde | 2013-06-24 | 1 | -6/+6 |
| | | | | | | | | | | | 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 | ||||
* | Merge pull request #1624 from libgit2/vmg/full-ref-iterator | Vicent Martí | 2013-06-03 | 1 | -13/+21 |
|\ | | | | | Breaking RefDB changes | ||||
| * | ...Aaaand this works | Vicent Marti | 2013-05-30 | 1 | -6/+1 |
| | | |||||
| * | What are the chances, really | Vicent Marti | 2013-05-29 | 1 | -2/+10 |
| | | |||||
| * | Liike this | Vicent Marti | 2013-05-28 | 1 | -5/+10 |
| | | |||||
* | | Merge pull request #1559 from carlosmn/ref-shorthand | Vicent Martí | 2013-05-31 | 1 | -0/+15 |
|\ \ | |/ |/| | Introduce git_reference_shorthand | ||||
| * | Introduce git_reference_shorthand | Carlos Martín Nieto | 2013-05-08 | 1 | -0/+15 |
| | | | | | | | | Generate a shorthand name out of the full refname. | ||||
* | | Merge pull request #1597 from zodiac/patch-1 | Ben Straub | 2013-05-21 | 1 | -1/+1 |
|\ \ | | | | | | | define "long name" in git_reference_name_to_id | ||||
| * | | define "long name" in git_reference_name_to_id | Li Xuanji | 2013-05-21 | 1 | -1/+1 |
| | | | |||||
* | | | refs: export the glob iterator | Carlos Martín Nieto | 2013-05-21 | 1 | -0/+11 |
|/ / | |||||
* | | Merge pull request #1385 from carlosmn/refs-iter | Edward Thomson | 2013-05-11 | 1 | -18/+26 |
|\ \ | | | | | | | Introduce a refs iterator | ||||
| * | | refs: remove the OID/SYMBOLIC filtering | Carlos Martín Nieto | 2013-05-11 | 1 | -18/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Nobody should ever be using anything other than ALL at this level, so remove the option altogether. As part of this, git_reference_foreach_glob is now implemented in the frontend using an iterator. Backends will later regain the ability of doing the glob filtering in the backend. | ||||
| * | | refs: introduce an iterator | Carlos Martín Nieto | 2013-05-11 | 1 | -0/+25 |
| |/ | | | | | | | This allows us to get a list of reference names in a loop instead of callbacks. | ||||
* | | Expose git_reference_dwim | Carlos Martín Nieto | 2013-05-07 | 1 | -0/+13 |
|/ | | | | | Extract this function out of the rev-parse code to be able to DWIM a reference instead of its target. | ||||
* | Parse shorthand refspecs as valid | Carlos Martín Nieto | 2013-04-28 | 1 | -0/+7 |
| | | | | | Relax the ONELEVEL ref naming rules so the refspec parsing code can ask for 'master' to be considered valid. | ||||
* | refs: Add `git_referene_target_peel` | Vicent Marti | 2013-04-17 | 1 | -0/+11 |
| | |||||
* | refs: Dude, you're OUT. | Vicent Marti | 2013-03-07 | 1 | -18/+0 |
| | |||||
* | immutable references and a pluggable ref database | Edward Thomson | 2013-03-07 | 1 | -39/+28 |
| | |||||
* | push: properly handle tags | Michael Schubert | 2013-01-09 | 1 | -1/+1 |
| | | | | | Currently, push doesn't really handle tags when queueing objects. Fix it. | ||||
* | Relax refspecs accepted by push | Jameson Miller | 2013-01-09 | 1 | -1/+1 |
| | |||||
* | update copyrights | Edward Thomson | 2013-01-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1115 from ben/struct-versions | Vicent Martí | 2012-12-05 | 1 | -1/+1 |
|\ | | | | | Version info for public structs | ||||
| * | Cleanup nitpicky things | Ben Straub | 2012-11-30 | 1 | -1/+1 |
| | | |||||
* | | object: refine git_object_peel() error report | nulltoken | 2012-12-01 | 1 | -2/+3 |
| | | |||||
* | | refs: Deploy EINVALIDSPEC usage | nulltoken | 2012-12-01 | 1 | -13/+21 |
|/ | |||||
* | Update callback fn ptr for git_reference_foreach | Russell Belfer | 2012-11-27 | 1 | -1/+7 |
| | | | | As part of API review, use a typedef for the callback fn ptr. | ||||
* | Rename ref and reflog apis for consistency | Ben Straub | 2012-11-27 | 1 | -24/+25 |
| | |||||
* | Improve docs, examples, warnings | Russell Belfer | 2012-11-01 | 1 | -130/+154 |
| | | | | | | This improves docs in some of the public header files, cleans up and improves some of the example code, and fixes a couple of pedantic warnings in places. | ||||
* | Separated git_strarray from common.h. Added doxy comments. | Paul Thompson | 2012-10-11 | 1 | -0/+1 |
| | |||||
* | refs: introduce git_reference_is_valid_name() | nulltoken | 2012-09-25 | 1 | -1/+12 |
| | |||||
* | refs: make git_reference_normalize_name() accept refspec pattern | nulltoken | 2012-09-25 | 1 | -2/+0 |
| | |||||
* | refs: introduce git_reference_peel() | nulltoken | 2012-09-06 | 1 | -0/+20 |
| | | | | Fix #530 | ||||
* | Merge branch 'branch-delete-ref' into development | Vicent Marti | 2012-08-27 | 1 | -0/+10 |
|\ | | | | | | | | | Conflicts: include/git2/refs.h | ||||
| * | branch: Change `git_branch_delete` to take a refbranch-delete-ref | Vicent Marti | 2012-08-26 | 1 | -0/+10 |
| | | |||||
* | | refs: expose git_reference_normalize_name() | nulltoken | 2012-08-27 | 1 | -0/+48 |
|/ | |||||
* | refs: fix missing parameter documentation | nulltoken | 2012-08-15 | 1 | -0/+2 |
| | |||||
* | Merge remote-tracking branch 'arrbee/tree-walk-fixes' into development | Vicent Marti | 2012-08-06 | 1 | -2/+3 |
|\ | | | | | | | | | | | | | | | | | Conflicts: src/notes.c src/transports/git.c src/transports/http.c src/transports/local.c tests-clar/odb/foreach.c | ||||
| * | Update iterators for consistency across library | Russell Belfer | 2012-08-03 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates all the `foreach()` type functions across the library that take callbacks from the user to have a consistent behavior. The rules are: * A callback terminates the loop by returning any non-zero value * Once the callback returns non-zero, it will not be called again (i.e. the loop stops all iteration regardless of state) * If the callback returns non-zero, the parent fn returns GIT_EUSER * Although the parent returns GIT_EUSER, no error will be set in the library and `giterr_last()` will return NULL if called. This commit makes those changes across the library and adds tests for most of the iteration APIs to make sure that they follow the above rules. | ||||
* | | refs: drop git_reference_remote_tracking_from_branch() | nulltoken | 2012-07-24 | 1 | -21/+0 |
| | | |||||
* | | branch: introduce git_reference_is_branch() | nulltoken | 2012-07-24 | 1 | -0/+10 |
|/ | |||||
* | refs: introduce git_reference_remote_tracking_from_branch() | nulltoken | 2012-07-12 | 1 | -0/+21 |
| | |||||
* | refs: add git_reference_has_log() | nulltoken | 2012-07-07 | 1 | -0/+10 |
| | |||||
* | references: introduce git_reference_foreach_glob() | nulltoken | 2012-06-22 | 1 | -1/+30 |
| | |||||
* | Fix spelling errors. | Bruce Mitchener | 2012-05-19 | 1 | -2/+2 |
| | |||||
* | errors: Rename the generic return codes | Vicent Martí | 2012-05-18 | 1 | -13/+13 |
| | |||||
* | Properly tag all `enums` with a `_t` | Vicent Martí | 2012-05-18 | 1 | -1/+1 |
| | |||||
* | refs: git_reference_listall -> git_reference_list | Vicent Martí | 2012-05-18 | 1 | -1/+1 |
| |