gitbatch icon indicating copy to clipboard operation
gitbatch copied to clipboard

option to not recurse through filesystems

Open anarcat opened this issue 5 years ago • 1 comments

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!

anarcat avatar Nov 02 '19 02:11 anarcat

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 :)

isacikgoz avatar Nov 04 '19 09:11 isacikgoz