Repositories under 2 levels deep of a regular folder are not checked
Closed this issue · 2 comments
ceremcem commented
Reproduction
$ mkdir -p a/b/c
$ cd a/; git init foo
Initialized empty Git repository in /home/ceremcem/.sbin/multi-git-status/a/foo/.git/
$ cd b/; git init bar
Initialized empty Git repository in /home/ceremcem/.sbin/multi-git-status/a/b/bar/.git/
$ cd c; git init baz
Initialized empty Git repository in /home/ceremcem/.sbin/multi-git-status/a/b/c/baz/.git/
$ cd ../../..
$ ./mgitstatus --depth=0 a/
a/b/bar: Uncommitted changes
a/foo: Uncommitted changes
Expected
Output should also include the following:
a/b/c/baz: Uncommitted changes
ceremcem commented
Looks like a documentation error. The following works correctly:
./mgitstatus --depth 0 a/
However, as --parameter=value
is more sensible, this issue should be handled as a coding error.
fboender commented
Hey ceremcem!
Thanks for the feedback. I'm going to leave the parameter as it is now. Seems like it's just a matter of personal preference, and I think it's fine the way it is.