convert some get_pathspec() calls to parse_pathspec()
commit0fdc2ae5125b61e5cfe0cd49b064d8367994e61b
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 14 Jul 2013 08:35:31 +0000 (14 15:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:56:06 +0000 (15 10:56 -0700)
tree5b3b209423f7d5f19ca501ae5befe705547d2415
parentfc12261fea778cabd08dec707169cb88ecdbc647
convert some get_pathspec() calls to parse_pathspec()

These call sites follow the pattern:

   paths = get_pathspec(prefix, argv);
   init_pathspec(&pathspec, paths);

which can be converted into a single parse_pathspec() call.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c
builtin/ls-tree.c
builtin/update-index.c
revision.c