Skip to content

Commit 8a0bdad

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? Introduce helper to create symlinks that knows about index_state
The `orig_index` moved into the field `priv`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent fa875d5 commit 8a0bdad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merge-recursive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ static int update_file_flags(struct merge_options *opt,
987987
char *lnk = xmemdupz(buf, size);
988988
safe_create_leading_directories_const(path);
989989
unlink(path);
990-
if (create_symlink(&opt->orig_index, lnk, path))
990+
if (create_symlink(&opt->priv->orig_index, lnk, path))
991991
ret = err(opt, _("failed to symlink '%s': %s"),
992992
path, strerror(errno));
993993
free(lnk);

0 commit comments

Comments
 (0)