git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Bug report : bad filter-branch (OSX only)

From
Roberto Tyley <roberto.tyley@gmail.com>
Date
Apr 29, 2015, 14:42 UTC
Message-ID
<CAFY1edZ=NjiRsBB6TyiR_as3vtiFHSQthKbnhbNPdKKtYNH2mg@mail.gmail.com>
In-Reply-To
<CAM=W1NkZr6o-DCxXskeWC8xjRMiT2P9qXeeUe91qLBqOxzqNtg@mail.gmail.com>

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@edla.org> wrote:
Show 32 quoted lines
> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Johannes Sixt
Message 12 of 12 in “Bug report : bad filter-branch (OSX only)”
  1. Olivier ROLANDApr 26, 2015
  2. Jeff KingApr 28, 2015
  3. Olivier ROLANDApr 28, 2015
  4. Jeff KingApr 29, 2015
  5. Jeff KingApr 29, 2015
  6. Junio C HamanoApr 29, 2015
  7. Jeff KingApr 29, 2015
  8. Junio C HamanoApr 29, 2015
  9. Jeff KingApr 29, 2015
  10. Junio C HamanoApr 29, 2015
  11. Johannes SixtApr 29, 2015
  12. Roberto TyleyApr 29, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.