git/refs
Johannes Schindelin f3bf009044 Introduce helper to create symlinks that knows about index_state
On Windows, symbolic links actually have a type depending on the target:
it can be a file or a directory.

In certain circumstances, this poses problems, e.g. when a symbolic link
is supposed to point into a submodule that is not checked out, so there
is no way for Git to auto-detect the type.

To help with that, we will add support over the course of the next
commits to specify that symlink type via the Git attributes. This
requires an index_state, though, something that Git for Windows'
`symlink()` replacement cannot know about because the function signature
is defined by the POSIX standard and not ours to change.

So let's introduce a helper function to create symbolic links that
*does* know about the index_state.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-04-29 21:48:13 +02:00
..
debug.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
files-backend.c Introduce helper to create symlinks that knows about index_state 2024-04-29 21:48:13 +02:00
iterator.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
packed-backend.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
packed-backend.h
ref-cache.c refs: always treat iterators as ordered 2024-02-21 09:58:06 -08:00
ref-cache.h
refs-internal.h Merge branch 'kn/for-all-refs' 2024-03-05 09:44:44 -08:00
reftable-backend.c reftable/stack: add env to disable autocompaction 2024-04-08 12:11:10 -07:00