Re: git-filter-branch behavior
- From
Jonathan Nieder <jrnieder@uchicago.edu>
- Date
- Aug 13, 2008, 21:00 UTC
- Message-ID
- <Pine.GSO.4.62.0808131552130.11537@harper.uchicago.edu>
- In-Reply-To
- <Pine.GSO.4.62.0808131533320.10800@harper.uchicago.edu>
Jonathan Nieder wrote:
> # prune-empty-commits - filter-branch filter to avoid boring commits > # > # Usage: git-filter-branch --tree-filter <something> \ > # --commit-filter 'prune-empty-commits "$@"' -- <refs>
[...]
> map "$sha1" | while read parent
Oops - the 'map' function is not passed on to scripts, so one should use this script with "--commit-filter '. prune-empty-commits'".
> test "-n interesting" && break
s/"-n interesting"/-n "$interesting"/
Sorry about that.