Closed heavywatal closed 6 years ago
@heavywatal thank you for your feedback!
I just tried it and for me it behaves correctly as follows:
src/.gitignore: /config.h -> src/config.h
src/.gitignore: config.h -> src/**/config.h
Sorry, my bad, I was using a different extension! Yours works perfectly!
Slashes are duplicated when
.gitignore
s in subdirectories are processed. For example,/config.h
insrc/.gitignore
is translated to"src//config.h"
, which fails to exclude the file.