Re: [PATCH/RFC] Clarified how pattern works in documentation to git-show-ref.

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

 



Garry Dolley <gdolley@xxxxxxxxxxxxxxx> writes:

> Several people in #git, including myself, thought that the following would
> show all refs:
>
>   git show-ref '*'
>
> Since that is not how the pattern patching works, clarification was needed
> in the documentation.
>
> Signed-off-by: Garry Dolley <gdolley@xxxxxxxx>
> ---
>
> I think including a little more info in the docs regarding the pattern would
> be helpful.  Comments?

Would be helpful.

It may be worthwhile to know that that "pathspec" limiting done by
revision traversal ("git log", "git rev-list") and diff is also without
globbing, but it is a head-match, and match is forced at '/' boundary.

ls-files and grep know how to glob, on the other hand.
--
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