Open ceremcem opened 3 years ago
Support for git submodules would be awesome! Great work, hope it can be incorporated into mgitstatus.
Git submodules is a must-have! Thanks for adding this support.
However, I have 2 issues:
git config --file=.gitmodules --get-regexp ^^submodule.*\.path$ | cut -d " " -f 2
(can be fixed by wrapping the regex in quotes: "^^submodule.*\.path$"
)find -L "$DIR" $FIND_OPTS -depth -name ".git" -printf "%h\0"
(no -printf flag on BSD's find
)It worked great on Bash/Linux; I'm hoping this can be resolved and merged soon.
Cheers!
@braydentraas Does gfind
solve the issue on Mac: https://superuser.com/a/293200/187576?
@ceremcem Yes it does, but now readarray
isn't available on mac/BSD either (or zsh even on linux)
As I don't have Mac on hand, I'm not sure how to proceed here. Are you able to implement the necessary changes and test on Mac? (I even didn't know this repo has been supporting Mac)
@ceremcem I've made a few changes and submitted a PR to your repo. Works for me now on MacOS/ZSH and Linux/Bash
Thanks again!
Any idea why this is not yet merged?
Don't know.
@ceremcem thank you for your updates!