I seem to have got a stuck git repo. It hangs on all basic add,commit commands, git push returns everything as up to date. From other posts I have done git gc and git fsck/ I figure the basic debug step is git status, so:
GIT_TRACE=1 git status
returns this repetition - I am not sure what it means but seems in a loop ?
16:51:27.575926 git.c:344 trace: built-in: git 'status'
16:51:27.669849 run-command.c:334 trace: run_command: 'status' '--porcelain'
16:51:27.672090 exec_cmd.c:120 trace: exec: 'git' 'status' '--porcelain'
16:51:27.680657 git.c:344 trace: built-in: git 'status' '--porcelain'
16:51:27.730535 run-command.c:334 trace: run_command: 'status' '--porcelain'
16:51:27.732571 exec_cmd.c:120 trace: exec: 'git' 'status' '--porcelain'
also tried:
git count-objects -v
gives output:
count: 0
size: 0
in-pack: 28167
packs: 1
size-pack: 1117374
prune-packable: 0
garbage: 0
size-garbage: 0
I am not sure what debug steps to take next, so appreciate help here. This is running on WSL with Ubuntu, other repos are fine.