Re: Where has "git ls-remote" reference pattern matching gone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9. des.. 2007, at 03.20, Daniel Barkalow wrote:

On Sat, 8 Dec 2007, Junio C Hamano wrote:

Eyvind Bernhardsen <eyvind-git@xxxxxxxxxxxxxx> writes:

ls-remote was recently made a builtin; was reference filtering
deliberately removed, or was it just lost in translation from the
shell script?

I suspect that to be the case.  Daniel, I think this is yours.

Ah, sure enough. I didn't see that feature there, I guess. Am I right that
it's supposed to have "git ls-remote origin db/*" return refs of the
form "*/db/*", interpreted as for globs?

Eyvind: can I get a test case? I haven't ever used this feature, and I'm
not sure I'll implement it correctly.

I've noticed that a fix made it to master already; that's fast work by you and Junio! Unfortunately, it fails the test case I was going to suggest, which is the one in the ls-remote manpage (see my response in the patch thread).

I haven't used the ref matching for anything (yet), so I don't have any other test cases.

Eyvind Bernhardsen

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux