isacikgoz / gitbatch

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

gitbatch hangs on FIFOs #101

Open anarcat opened 4 years ago

anarcat commented 4 years ago

I was wondering why gitbatch wasn't working in my home directory. I first thought it was it was recursing into remote filesystems (#100, which would still be a problem), but after investigating with strace, I saw it just hung on a fifo:

anarcat@curie:~(master)$ strace -e file -p 15675
strace: Process 15675 attached
openat(AT_FDCWD, "/home/anarcat/.mutt/sigfifo", O_RDONLY|O_CLOEXEC

that's an old FIFO that I don't use anymore and could remove, but there are many more FIFOs in various directories in $HOME that hang, for example .wine has a FIFO, and so has my .smd directory.

isacikgoz commented 4 years ago

I will add a feature for ignoring such paths which will be configurable.