From: Jonathan Nieder Date: Wed, 13 Aug 2008 21:00:23 GMT Subject: Re: git-filter-branch behavior Message-ID: In-Reply-To: Jonathan Nieder wrote: > # prune-empty-commits - filter-branch filter to avoid boring commits > # > # Usage: git-filter-branch --tree-filter \ > # --commit-filter 'prune-empty-commits "$@"' -- [...] > 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.