Commit 72b51e1
committed
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 <peff@peff.net>1 parent b9b5924 commit 72b51e1
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
| 684 | + | |
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
| |||
0 commit comments