Re: git & patterns

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

 



Ferry Huberts <mailings@xxxxxxxxx> writes:

> - usually patterns are just patterns, without specifying what kind

> - when a pattern type is specified it most of the time is a glob pattern
> - but sometimes it is called a shell pattern
> - and  a few cases speak of a wildcard pattern (I think)

All these three are the same thing. I do not personally feel any strong
need to change a lot of documentation to use only one of the terms, if
that is what you are getting at.

What I was wondering was perhaps we may need to document the general
principle of using globs when matching names that are hierarchically
grouped with slash-delimited components.

The branch and tag namespaces are examples of such hiearchically grouped
namespaces, and it is not a mere implementation detail as you seem to
think. For jk/blame-line-porcelain and jk/diffstat-binary are both branch
names, grouped by name initials of the author, and the globbing jk/* is a
way to get to the group. With that grouping present, you cannot have a
branch called "jk".
--
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]