From: Johannes Sixt Date: Fri, 08 Jun 2007 13:19:31 GMT Subject: Re: [PATCH] Teach filter-branch about subdirectory filtering Message-ID: <46695763.D65CDC30@eudaptics.com> In-Reply-To: Johannes Schindelin wrote: > # list all parent's object names for a given commit > get_parents () { > - git-rev-list -1 --parents "$1" | sed "s/^[0-9a-f]*//" > + case "$filter_subdir" in > + "") > + git-rev-list -1 --parents "$1" > + ;; > + *) > + git-rev-list -1 --parents "$1" -- "$filter_subdir" > + esac | sed "s/^[0-9a-f]*//" > } I think --full-history in the subdir case would make a lot of sense. -- Hannes