Error (non-fatal) during wiki creation: "unable to resolve reference", "failed to run reflog"
I got the following error. The wiki was created just fine though.
I guess Git doesn't like it when we delete its worktrees without notifying it, and maybe the delete script needs to do some cleanup.
Updating repositories (1/64)...
PATCHDEMO='/var/www/html' NAME='1289c3ee51' REPO_SOURCE='mediawiki/core' /var/www/html/new/updaterepos.sh
+ git --git-dir=/var/www/html/repositories/mediawiki/core/.git fetch --all
Fetching origin
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: cannot lock ref 'worktrees/.13/HEAD': unable to resolve reference 'worktrees/.13/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.1/HEAD': unable to resolve reference 'worktrees/.1/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.5/HEAD': unable to resolve reference 'worktrees/.5/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.10/HEAD': unable to resolve reference 'worktrees/.10/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.15/HEAD': unable to resolve reference 'worktrees/.15/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.9/HEAD': unable to resolve reference 'worktrees/.9/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.4/HEAD': unable to resolve reference 'worktrees/.4/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.8/HEAD': unable to resolve reference 'worktrees/.8/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.16/HEAD': unable to resolve reference 'worktrees/.16/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.12/HEAD': unable to resolve reference 'worktrees/.12/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.14/HEAD': unable to resolve reference 'worktrees/.14/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.17/HEAD': unable to resolve reference 'worktrees/.17/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.18/HEAD': unable to resolve reference 'worktrees/.18/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.3/HEAD': unable to resolve reference 'worktrees/.3/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.11/HEAD': unable to resolve reference 'worktrees/.11/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.7/HEAD': unable to resolve reference 'worktrees/.7/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.6/HEAD': unable to resolve reference 'worktrees/.6/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.2/HEAD': unable to resolve reference 'worktrees/.2/HEAD': Invalid argument
fatal: failed to run reflog
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: cannot lock ref 'worktrees/.13/HEAD': unable to resolve reference 'worktrees/.13/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.1/HEAD': unable to resolve reference 'worktrees/.1/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.5/HEAD': unable to resolve reference 'worktrees/.5/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.10/HEAD': unable to resolve reference 'worktrees/.10/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.15/HEAD': unable to resolve reference 'worktrees/.15/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.9/HEAD': unable to resolve reference 'worktrees/.9/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.4/HEAD': unable to resolve reference 'worktrees/.4/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.8/HEAD': unable to resolve reference 'worktrees/.8/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.16/HEAD': unable to resolve reference 'worktrees/.16/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.12/HEAD': unable to resolve reference 'worktrees/.12/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.14/HEAD': unable to resolve reference 'worktrees/.14/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.17/HEAD': unable to resolve reference 'worktrees/.17/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.18/HEAD': unable to resolve reference 'worktrees/.18/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.3/HEAD': unable to resolve reference 'worktrees/.3/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.11/HEAD': unable to resolve reference 'worktrees/.11/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.7/HEAD': unable to resolve reference 'worktrees/.7/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.6/HEAD': unable to resolve reference 'worktrees/.6/HEAD': Invalid argument
error: cannot lock ref 'worktrees/.2/HEAD': unable to resolve reference 'worktrees/.2/HEAD': Invalid argument
fatal: failed to run reflog