-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for .gitignore files #450
Comments
Interesting idea! I'll look into what exactly ripgrep does. The most difficult part of BSD tar (libarchive) does not have any such option, but GNU tar has That said, I think it's very unlikely that we would add support for this to our binary unless it's already in libarchive. It's much more likely that we would share a shell script which does what you describe. |
I'd also like to see something like this. I think it is more likely that libarchive/bsdtar could grow support for
|
I'm using Tarsnap to backup my projects, and it would be really nice if it would respect
.gitignore
files. That way I won't need to constantly add excludes to the same extent, or waste space. While I suppose I could write a bunch of shell code to find all my.gitignore
files, prepend their paths to their respective patterns and then hand all those to Tarsnap, or clean all those projects before doing the backup, perhaps git is now common enough to justify this special treatment to make things user friendly. Ripgrep, for example, already works like that.The text was updated successfully, but these errors were encountered: