summaryrefslogtreecommitdiff
path: root/src/libgit2/sysdir.c
Commit message (Collapse)AuthorAgeFilesLines
* sysdir: provide actual home directoryEdward Thomson2023-02-091-1/+25
| | | | | | | | | | Provide a mechanism to look up the user's home directory, using the same mechanism that we use for locating the global configuration path (a fancy name for saying "the home directory"). SSH known hosts lookups now use this, instead of simply looking at the HOME environment variable, to support Windows-style home directory lookups in `HOME`, `HOMEPATH`, or `USERPROFILE`.
* sysdir: move windows sysdir functions out of shared utilEdward Thomson2023-02-091-6/+269
| | | | | | The windows sysdir functions are libgit2-specific and for git compatibility only; remove them from the shared util directory and bring them into the libgit2 source tree.
* refactor: `src` is now `src/libgit2`Edward Thomson2022-02-221-0/+363