All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Jason McMullan <jason.mcmullan@timesys.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] ls-tree matching a prefix
Date: Wed, 25 May 2005 21:44:31 -0700	[thread overview]
Message-ID: <7vsm0aeguo.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20050526034756.GA1488@port.evillabs.net> (Jason McMullan's message of "Wed, 25 May 2005 23:47:56 -0400")

>>>>> "JM" == Jason McMullan <jason.mcmullan@timesys.com> writes:

JM> For this purpose, I've enhanced git-ls-tree to allow the
JM> specification of an optional 'match path' that restricts
JM> that output of git-ls-tree to just the path requested.

JM> If the patch has a '/' in it, it implies -r.

I'd rather see the behaviour match existing commands with path
restriction, like diff-tree, diff-cache, and diff-files.  That
is, to take a list of paths and limit your output to those that
match one of them.  I do not think this enhancement would
negatively affect your stated use of getting one entry with the
exact match.


  reply	other threads:[~2005-05-26  4:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26  3:47 [PATCH] ls-tree matching a prefix Jason McMullan
2005-05-26  4:44 ` Junio C Hamano [this message]
2005-05-26 12:50   ` McMullan, Jason
2005-05-26 15:13     ` [PATCH] ls-tree matching multiple paths Jason McMullan
2005-05-26 17:52       ` Junio C Hamano
2005-05-26 18:06         ` Junio C Hamano

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=7vsm0aeguo.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=jason.mcmullan@timesys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.