Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Win32: UTF-8 <-> WCHAR conversion overhaul | Philip Kelley | 2014-04-19 | 1 | -11/+0 |
| | |||||
* | Refactor git_win32__find_system_dirs() to extract "etc\\" as subpath parameter | Linquize | 2013-09-17 | 1 | -1/+1 |
| | |||||
* | Fixes and cleanups | Russell Belfer | 2013-03-18 | 1 | -7/+8 |
| | | | | | Get rid of some dead code, tighten things up a bit, and fix a bug with core::env test. | ||||
* | Switch search paths to classic delimited strings | Russell Belfer | 2013-03-18 | 1 | -3/+3 |
| | | | | | | | | | | | | This switches the APIs for setting and getting the global/system search paths from using git_strarray to using a simple string with GIT_PATH_LIST_SEPARATOR delimited paths, just as the environment PATH variable would contain. This makes it simpler to get and set the value. I also added code to expand "$PATH" when setting a new value to embed the old value of the path. This means that I no longer require separate actions to PREPEND to the value. | ||||
* | Implement global/system file search paths | Russell Belfer | 2013-03-15 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Refactored: Move msysgit registry detection to it's own function | Sven Strickroth | 2013-01-31 | 1 | -0/+1 |
| | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
* | update copyrights | Edward Thomson | 2013-01-08 | 1 | -1/+1 |
| | |||||
* | Move win32 specific stuff to win32/findfile.c | Sven Strickroth | 2012-10-02 | 1 | -0/+23 |
Signed-off-by: Sven Strickroth <email@cs-ware.de> |