summaryrefslogtreecommitdiff
path: root/src/sysdir.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the issues in git__on_shutdownAnurag Gupta2014-05-061-0/+2
|
* Improve handling of fake home directoryRussell Belfer2014-05-021-5/+11
| | | | | | | | | | There are a few tests that set up a fake home directory and a fake GLOBAL search path so that we can test things in global ignore or attribute or config files. This cleans up that code to work more robustly even if there is a test failure. This also fixes some valgrind warnings where scanning search paths for separators could end up doing a little bit of sketchy data access when coming to the end of search list.
* sysdir: free the path if we cannot find the fileCarlos Martín Nieto2014-04-211-1/+1
| | | | | Returning an error cleared the buf, but this operation does not free the memory associated with it. Use git_buf_free() instead.
* Move system directory cache out of utilsEdward Thomson2014-02-241-0/+244