git-summary icon indicating copy to clipboard operation
git-summary copied to clipboard

Does NOT report all the repos in the current directory

Open antofthy opened this issue 2 years ago • 3 comments

I have a directory with 154 repos in it. git-summery only outputs around 55 of those repos (random set) This is without arguments. With arguments (like -q) it is hit or miss if it actually finds the repos that have differences.

Here for example I did two runs immediately after each other. one run it finds the two repos that are out of sync, and in another it does not find them.

> git-summary -q

Repository                              Branch  State
======================================  ======  =====
Checked 154 repositories.
>

> git-summary -q

Repository                              Branch  State
======================================  ======  =====
./fsyslog                               master     v 
./vault                                 master     v 
Checked 154 repositories.
>

With -s (sort) all the repos does seem to be found successfully. So it is likely something to do with the race condition you mentioned as part of this option.

antofthy avatar Sep 08 '23 01:09 antofthy

Hey @antofthy It worked for me. Could try again now? Or maybe clone the latest code.

pk0dev avatar Aug 16 '24 03:08 pk0dev

git repositories in directory is now 171

git-summery no arguments... only lists 52 repositories

git-summery -q still a variable number of repositories

I have noticed that the 52 repos are unsorted, so perhaps the -q list is just the ones that appears in the 52 that appears for a specific run!

antofthy avatar Aug 16 '24 04:08 antofthy

I see

pk0dev avatar Aug 16 '24 07:08 pk0dev