Hmmm, the only thing I can think of is to use the complete set of commands to undo the git tree.
git reset --hard HEAD git restore --source=HEAD --worktree --staged :/ git checkout HEAD :/ git clean -d --force -x :/ git gc # Are there more? If there is still a problem, is there something wrong with the environment variables? Also, there is no difference in the error message, so I can't determine whether it is running in /usr/libexec/make_index or /usr/ports/Tools/make_index. Regards.
