]> git.ipfire.org Git - thirdparty/git.git/commit - pathspec.h
guard against new pathspec magic in pathspec matching code
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 14 Jul 2013 08:35:36 +0000 (15:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:56:07 +0000 (10:56 -0700)
commit8f4f8f4579fe8cc630e118cc736de2b8d5cf8e34
tree84c3f6e022bd7c4e81d05ca725a469e72806d00e
parentdad2586a6b30da902d5f1979221eccc474425a7a
guard against new pathspec magic in pathspec matching code

GUARD_PATHSPEC() marks pathspec-sensitive code, basically all those
that touch anything in 'struct pathspec' except fields "nr" and
"original". GUARD_PATHSPEC() is not supposed to fail. It's mainly to
help the designers catch unsupported codepaths.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-setup.txt
builtin/diff.c
dir.c
pathspec.h
tree-diff.c
tree-walk.c