]> git.ipfire.org Git - thirdparty/git.git/commit - dir.c
pathspec: allow querying for attributes
authorBrandon Williams <bmwill@google.com>
Mon, 13 Mar 2017 18:23:21 +0000 (11:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Mar 2017 22:28:54 +0000 (15:28 -0700)
commitb0db70465246bb8309d3d12c9bc34ac3f0c1e203
treea82cfca2e400ddd21f22cec61e2d664462e4a38f
parent625568cd8813bf32b2172eaf59e45e9da5978ce3
pathspec: allow querying for attributes

The pathspec mechanism is extended via the new
":(attr:eol=input)pattern/to/match" syntax to filter paths so that it
requires paths to not just match the given pattern but also have the
specified attrs attached for them to be chosen.

Based on a patch by Stefan Beller <sbeller@google.com>
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/glossary-content.txt
attr.c
attr.h
dir.c
pathspec.c
pathspec.h
t/t6135-pathspec-with-attrs.sh [new file with mode: 0755]