Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | strarray: remove deprecated declaration | Edward Thomson | 2023-02-16 | 1 | -13/+0 |
| | | | | | | `git_strarray_copy` is deprecated (and has been included in `deprecated.h` for some time). It should not have remained in the public `strarray.h`. Remove it. | ||||
* | strarray: we should `dispose` instead of `free` | Edward Thomson | 2020-06-01 | 1 | -10/+6 |
| | | | | | | We _dispose_ the contents of objects; we _free_ objects (and their contents). Update `git_strarray_free` to be `git_strarray_dispose`. `git_strarray_free` remains as a deprecated proxy function. | ||||
* | Unify whitespaces to tabs | Linquize | 2013-05-15 | 1 | -2/+2 |
| | |||||
* | Fixes and cleanups | Russell Belfer | 2013-03-18 | 1 | -26/+0 |
| | | | | | Get rid of some dead code, tighten things up a bit, and fix a bug with core::env test. | ||||
* | Implement global/system file search paths | Russell Belfer | 2013-03-15 | 1 | -2/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | The goal of this work is to expose the search logic for "global", "system", and "xdg" files through the git_libgit2_opts() interface. Behind the scenes, I changed the logic for finding files to have a notion of a git_strarray that represents a search path and to store a separate search path for each of the three tiers of config file. For each tier, I implemented a function to initialize it to default values (generally based on environment variables), and then general interfaces to get it, set it, reset it, and prepend new directories to it. Next, I exposed these interfaces through the git_libgit2_opts interface, reusing the GIT_CONFIG_LEVEL_SYSTEM, etc., constants for the user to control which search path they were modifying. There are alternative designs for the opts interface / argument ordering, so I'm putting this phase out for discussion. Additionally, I ended up doing a little bit of clean up regarding attr.h and attr_file.h, adding a new attrcache.h so the other two files wouldn't have to be included in so many places. | ||||
* | update copyrights | Edward Thomson | 2013-01-08 | 1 | -1/+1 |
| | |||||
* | Cleanup nitpicky things | Ben Straub | 2012-11-30 | 1 | -3/+2 |
| | |||||
* | Fixing up some comments in strarray.h | Russell Belfer | 2012-11-27 | 1 | -6/+13 |
| | |||||
* | Separated git_strarray from common.h. Added doxy comments. | Paul Thompson | 2012-10-11 | 1 | -0/+54 |