I like git-blur very much, and I have been using it to encrypt data in a repository while leaving the code public.
Recently I decided to try to prune the data-directory from the commit history, using
git filter-branch --tree-filter 'rm -rf data' --prune-empty --tag-name-filter cat -- --all
This command normally works well, but in the context of git-blur it generates errors whenever it encounters the commit of an encrypted file. Are there known ways of circumventing this problem?
Below is a sample error message:
/usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/lib/git-blur/conf.rb:43:in `rescue in read_configuration': uninitialized constant GitBlur::MissingConfiguration (NameError)
from /usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/lib/git-blur/conf.rb:34:in `read_configuration'
from /usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/lib/git-blur/actions.rb:26:in `initialize'
from /usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/lib/git-blur/cmdparser.rb:48:in `new'
from /usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/lib/git-blur/cmdparser.rb:48:in `cmd_clean'
from /usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/lib/git-blur/cmdparser.rb:38:in `call'
from /usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/lib/git-blur/cmdparser.rb:38:in `run'
from /usr/local/lib/ruby/gems/2.1.0/gems/git-blur-0.0.1/bin/git-blur:6:in `<top (required)>'
from /usr/local/bin/git-blur:23:in `load'
from /usr/local/bin/git-blur:23:in `<main>'
error: external filter git-blur clean failed 1
error: external filter git-blur clean failed
[end]