Files
git/builtin
Nguyễn Thái Ngọc Duy e4d92cdcd9 pathspec: add copy_pathspec
Because free_pathspec wants to free "items" pointer in the pathspec
structure, a simple structure assignment is not enough if you want to
copy an existing pathspec into another.  Freeing the original will
damage the copy unless a deep copy is made.

Note that the strings in pathspec->items->match and the array
pathspec->raw[] are still shared between the original and the copy.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-07-15 10:56:06 -07:00
..
2013-04-26 15:28:09 -07:00
2013-06-02 16:00:44 -07:00
2013-04-15 11:04:44 -07:00
2012-09-17 15:59:34 -07:00
2013-05-29 14:23:40 -07:00
2013-07-15 10:56:06 -07:00
2013-07-11 13:05:34 -07:00
2013-06-20 16:02:33 -07:00
2013-06-14 08:46:14 -07:00
2013-06-14 08:46:14 -07:00
2012-09-27 17:57:26 -07:00
2013-07-01 12:41:23 -07:00
2013-07-15 10:56:06 -07:00
2012-10-25 06:42:27 -04:00
2013-07-12 12:04:06 -07:00
2013-05-29 14:23:04 -07:00
2013-06-17 13:30:01 -07:00
2013-01-16 12:48:22 -08:00