From: Brandon Casey Date: Thu, 31 Jan 2008 00:20:59 GMT Subject: Re: [PATCH] filter-branch: assume HEAD if no revision supplied Message-ID: <47A1146B.5040601@nrlssc.navy.mil> In-Reply-To: Johannes Schindelin wrote: > Hi, > > On Wed, 30 Jan 2008, Brandon Casey wrote: > >> Junio C Hamano wrote: >>> (unless you are trying to rewrite the history with grafts). >> That's what I was trying to do :) > > But then you would have to keep the test for $#, but enhance it like this: > > case "$#,$filter_env,$filter_tree,$filter_index,$filter_parent,\ > $filter_msg,$filter_commit,$filter_tag_name,$filter_subdir" in > 0,,,,,cat,'git commit-tree "$@"',) > usage > esac I meant I was trying to rewrite the history with grafts. :) -brandon