Commit f021fed
committed
Add support for running self-tests when 9pm is a submodule
When working on 9PM while it is used as a GIT submodule in another
project, .git is not a directory. Handle this case by looking up
the actual .git directory:
$ ls -la .git
-rw-rw-r-- 1 bob bob 31 dec 1 2023 .git
$ cat .git
gitdir: ../../.git/modules/9pm
Signed-off-by: Joachim Wiberg <[email protected]>1 parent 773bac3 commit f021fed
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
| 774 | + | |
775 | 775 | | |
776 | | - | |
777 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
778 | 788 | | |
779 | 789 | | |
780 | 790 | | |
| |||
0 commit comments