From: Johannes Sixt <J.Sixt@eudaptics.com>
To: git@vger.kernel.org
Subject: Re: [PATCH] Teach filter-branch about subdirectory filtering
Date: Fri, 08 Jun 2007 15:19:31 +0200 [thread overview]
Message-ID: <46695763.D65CDC30@eudaptics.com> (raw)
In-Reply-To: Pine.LNX.4.64.0706080130000.4046@racer.site
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
next prev parent reply other threads:[~2007-06-08 13:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-08 0:30 [PATCH] Teach filter-branch about subdirectory filtering Johannes Schindelin
2007-06-08 0:57 ` Junio C Hamano
2007-06-08 5:04 ` Johannes Schindelin
2007-06-08 7:19 ` Johannes Sixt
2007-06-08 13:03 ` Johannes Schindelin
2007-06-08 13:19 ` Johannes Sixt [this message]
2007-06-08 21:05 ` Alex Riesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46695763.D65CDC30@eudaptics.com \
--to=j.sixt@eudaptics.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).