From: Patrick Higgins <patrick.allen.higgins@gmail.com>
To: git@vger.kernel.org
Subject: How to ensure a word has been removed from repository?
Date: Tue, 3 Nov 2009 19:12:49 -0700 [thread overview]
Message-ID: <6fb3af8e0911031812j54a9b698xca9f5301ac07442a@mail.gmail.com> (raw)
Hi all,
I just completed a series of filter-branch commands to remove a couple
of sensitive words from a repository before I publish it. The words
were found in commit messages, directory names, file contents, and
various other places (kind of weird, I know). I believe I have removed
them all, but I would like to double check but don't know how.
Given that much of the repository is stored in compressed packs, I
can't just use grep to look for the words. To get around this, I've
unpacked the objects, use a Perl script (filtinf example script) to
decompress them and then use grep (this has proven to be quite slow).
Is that going to find every possible occurrence if all the relevant
files are plain text?
Is there an easier way to search the repository? The way I'm doing it
has required some awfully deep knowledge to expire and prune
everything. I feel like I must be missing something.
Thanks,
Patrick
next reply other threads:[~2009-11-04 2:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 2:12 Patrick Higgins [this message]
2009-11-04 2:49 ` How to ensure a word has been removed from repository? Nicolas Pitre
2009-11-04 3:35 ` Sitaram Chamarty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6fb3af8e0911031812j54a9b698xca9f5301ac07442a@mail.gmail.com \
--to=patrick.allen.higgins@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).