Re: [PATCH] archive: support filtering paths with glob

2014-09-13 Thread Peter Wu
On Thursday 04 September 2014 20:37:52 Nguyễn Thái Ngọc Duy wrote: > This patch fixes two problems with using :(glob) (or even "*.c" > without ":(glob)"). > > The first one is we forgot to turn on the 'recursive' flag in struct > pathspec. Without that, tree_entry_interesting() will not mark > pot

[PATCH] archive: support filtering paths with glob

2014-09-04 Thread Nguyễn Thái Ngọc Duy
This patch fixes two problems with using :(glob) (or even "*.c" without ":(glob)"). The first one is we forgot to turn on the 'recursive' flag in struct pathspec. Without that, tree_entry_interesting() will not mark potential directories "interesting" so that it can confirm whether those directori