Skip to content

Commit

Permalink
fixup??? Introduce helper to create symlinks that knows about index_s…
Browse files Browse the repository at this point in the history
…tate

Ah, `git rerere` works well, when it works. But sometimes, one makes
a mistake, and cannot figure out which recorded resolution to forget,
and does not want to blow them all away. Oh well.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Mar 4, 2025
1 parent b890d9c commit 7950990
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -2396,7 +2396,6 @@ static int create_default_files(const char *template_path,
repo_git_path_replace(the_repository, &path, "tXXXXXX");
if (!close(xmkstemp(path.buf)) &&
!unlink(path.buf) &&
!symlink("testing", path.buf) &&
!create_symlink(NULL, "testing", path.buf) &&
!lstat(path.buf, &st1) &&
S_ISLNK(st1.st_mode))
Expand Down

0 comments on commit 7950990

Please sign in to comment.