parse_pathspec: save original pathspec for reporting
commitd2ce1331953e9f4306e00f5edf3a6ce6e3330e9e
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 14 Jul 2013 08:35:29 +0000 (14 15:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:56:06 +0000 (15 10:56 -0700)
tree40d58e49adae53d99dbd55e4be6785b368e5a73b
parent87323bdace47c3d464a783f48b16617720e8eeee
parse_pathspec: save original pathspec for reporting

We usually use pathspec_item's match field for pathspec error
reporting. However "match" (or "raw") does not show the magic part,
which will play more important role later on. Preserve exact user
input for reporting.

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