]> git.ipfire.org Git - thirdparty/git.git/commit - pathspec.h
dir.c: move, rename and export match_attrs()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 18 Nov 2018 16:47:59 +0000 (17:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2018 01:50:33 +0000 (10:50 +0900)
commit22af33bece7e121b9d535d0a117cd4553b00fe07
treebe363db3dd0c2c63fc41762fd006df8ab77ef2be
parent93e23798effba81df218157d97995771adc89668
dir.c: move, rename and export match_attrs()

The function will be reused for matching attributes in pathspec when
walking trees (currently it's used for matching pathspec when walking
a list). pathspec.c would be a more neutral place for this.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
pathspec.c
pathspec.h