First, thanks for the excellent rsync tool. It's been invaluable over the
I was recently working on a project where I wanted to rsync a copy of a git
repo, and exclude SCM files. I used rsync -C, but noticed that while .git was
removed, .gitignore remained.
I've written a small patch to also exclude .bzrignore, .hgignore, and
.gitignore, so that bazaar, git and mercurial SCMs also have their ignore
files, ignored (as they are practically useless without the other SCM files,
e.g., for a tarball release).
sent 3,778 bytes received 77 bytes 7,710.00 bytes/sec
total size is 8,795 speedup is 2.28
Note: I searched bugzilla and found a few other bugs that reference .gitignore,
but I believe none are the same:
bug 5418/bug 10995: .gitignore is casually mentioned in a list of files in the
rsync command, unrelated
bug 6120: is about a .rsyncignore file (default --exclude-from location),
roughly equivalent to .gitignore
bug 9744: is about parsing git/svn/hg/bzr ignore lists and having rsync ignore
You are receiving this mail because:
You are the QA Contact for the bug.