isacikgoz / gitbatch

manage your git repositories in one place
MIT License
1.54k stars 53 forks source link

option to not recurse through filesystems #100

Open anarcat opened 4 years ago

anarcat commented 4 years ago

there should be a way to tell gitbatch to avoid recursing through filesystems or better control the "walker" so that it can skip directories.

in my case, i'd love if gitbatch could just crawl my entire $HOME except this can't work here because ~/.fuse is a magic directory that uses afuse to dynamically connect to remote servers. recursing in there will wreak havoc and find all sorts of horrors.

having a paramater like -xdev or --one-file-system would be great to work around that problem. short of that, a more generic --exclude pattern could work as well.

thanks, this software looks great!

isacikgoz commented 4 years ago

Hi @anarcat, thanks for the feedback. I also think there is a need to rework in recursion implementation.

I will be looking into this and thanks for your compliments :)