Name |
Last commit
|
Last update |
---|---|---|
.. | ||
binaryunicode.c | ||
checkout_helpers.c | ||
checkout_helpers.h | ||
conflict.c | ||
crlf.c | ||
head.c | ||
icase.c | ||
index.c | ||
nasty.c | ||
tree.c | ||
typechange.c |
When initializing a repository, we need to check whether its working directory supports symlinks to correctly set the initial value of the "core.symlinks" config variable. The code to check the filesystem is reusable in other parts of our codebase, like for example in our tests to determine whether certain tests can be expected to succeed or not. Extract the code into a new function `git_path_supports_symlinks` to avoid duplicate implementations. Remove a duplicate implementation in the repo test helper code.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
binaryunicode.c | Loading commit data... | |
checkout_helpers.c | Loading commit data... | |
checkout_helpers.h | Loading commit data... | |
conflict.c | Loading commit data... | |
crlf.c | Loading commit data... | |
head.c | Loading commit data... | |
icase.c | Loading commit data... | |
index.c | Loading commit data... | |
nasty.c | Loading commit data... | |
tree.c | Loading commit data... | |
typechange.c | Loading commit data... |