Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run-command: terrible hack for loading config
It's not safe to look at config before we've done setup_git_directory(), as we may pollute the results of a later call. This is a hack because: 1. we just silently disable this feature in this case (!) 2. is_bare_repository_cfg is probably not the best way to know whether we've done setup or not. Signed-off-by: Jeff King <[email protected]>
- Loading branch information