Option to include the current directory?
I have a directory setup like so:
foo/- git repofoo/bar/- git repofoo/baz/- git repo
I'm running commands like git multi in foo/, which lists the status of foo/bar/ and foo/baz/. So then I end up running things like git status; git multi. I wonder if there is already an option to include the current directory as well? Or if it doesn't exist, if you'd be open to adding it?
Also, thanks a lot for git plus, I was planning to write my own implementation and I was delighted to find this and save the work. 🧡
There is one option that might help you, but only if you use git multi from a parent of foo. There is a depth command line option which will tell the tool to search recursively. So:
cd ..
git multi -d 2 status
...should be, not exactly what you need, but relatively close.
@tkrajina That's neat, thanks. Yeah, with this and some filtering I could probably write some simple aliases to switch directories, run the command, and then switch back. Or a bash script. Will definitely help me find a workaround. Awesome!