Since 20e38cba3926 (setup: split up concerns of init_db(), 2026-09-10), git-init prints "Initialized empty Git repository in .git/" instead of the earlier "Initialized empty Git repository in /full/path/to/repo/.git/".
Matt Hunter traced the cause. Before that commit the message was produced in init_db (since renamed create_repository), where the git_dir variable had been updated by git_dir = repo_get_git_dir(repo); earlier in the function, so the printf used an absolute path. After the split, the code that prints the message no longer had that value.
Hunter notes that none of the discussion around the original patch suggests the change was intentional, so he treats it as a regression. His patch uses repo_get_git_dir in the code's new location, as the older code did.
The thread has 13 messages, including Patrick Steinhardt, Harald Nordgren and Junio C Hamano, but the excerpts do not show their comments or where review landed.