As an aside, if you're a Scala dev (https://github.com/begeric/FastParsers is a scala library), you might find it fun to play with https://rtyley.github.io/bfg-repo-cleaner/ - you could probably write some scala (eg a custom BFG CommitNodeCleaner) that would do whatever it is you want filter-branch to do. Roberto On 26 April 2015 at 10:25, Olivier ROLAND <cyrus-dev@xxxxxxxx> wrote: > Hello, > > Seem to be a bug. > > OSX 10.10.3 git 2.3.6 HFS+ case-sensitive > > How to reproduce : > Step 1 : git clone https://github.com/begeric/FastParsers.git > Step 2 : cd FastParsers/ > Step 3 : git filter-branch --env-filter 'if [ 0 = 1 ]; then echo 0; fi' -- --all > > Result on OSX : > Rewrite 65df7c5ac1ed956252b07b8c911ad7eba0a15c2b (206/206) > Ref 'refs/heads/experiment' was rewritten > Ref 'refs/remotes/origin/experiment' was rewritten > WARNING: Ref 'refs/remotes/origin/experiment' is unchanged > Ref 'refs/remotes/origin/master' was rewritten > > Result on Debian : > Rewrite 65df7c5ac1ed956252b07b8c911ad7eba0a15c2b (206/206) > WARNING: Ref 'refs/heads/experiment' is unchanged > WARNING: Ref 'refs/remotes/origin/experiment' is unchanged > WARNING: Ref 'refs/remotes/origin/experiment' is unchanged > WARNING: Ref 'refs/remotes/origin/master' is unchanged > > Do you have any thoughts on this ? > > Thanks. > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html