pathspec: remove the deprecated get_pathspec function
commit34305f7753f9f044cb280e6d58658cb31b140693
authorBrandon Williams <bmwill@google.com>
Wed, 4 Jan 2017 18:04:00 +0000 (4 10:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jan 2017 02:04:17 +0000 (8 18:04 -0800)
tree20449f4468a8137c7966775051929adc02439867
parente1e24edc1a86ef1f7639b3bbebc82c045d3c27b6
pathspec: remove the deprecated get_pathspec function

Now that all callers of the old 'get_pathspec' interface have been
migrated to use the new pathspec struct interface it can be removed
from the codebase.

Since there are no more users of the '_raw' field in the pathspec struct
it can also be removed.  This patch also removes the old functionality
of modifying the const char **argv array that was passed into
parse_pathspec.  Instead the constructed 'match' string (which is a
pathspec element with the prefix prepended) is only stored in its
corresponding pathspec_item entry.

Signed-off-by: Brandon Williams <bmwill@google.com>
Reviewed-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
cache.h
pathspec.c
pathspec.h