Re: [PATCH] dir: allow exclusions from blob in addition to file

2017-10-27 Thread Jeff Hostetler
On 10/26/2017 9:20 PM, Junio C Hamano wrote: Jeff Hostetler writes: From: Jeff Hostetler Refactor add_excludes() to separate the reading of the exclude file into a buffer and the parsing of the buffer into exclude_list items. Add add_excludes_from_blob_to_list() to allow an exclude file b

Re: [PATCH] dir: allow exclusions from blob in addition to file

2017-10-26 Thread Junio C Hamano
Jeff Hostetler writes: > From: Jeff Hostetler > > Refactor add_excludes() to separate the reading of the > exclude file into a buffer and the parsing of the buffer > into exclude_list items. > > Add add_excludes_from_blob_to_list() to allow an exclude > file be specified with an OID without assu

[PATCH] dir: allow exclusions from blob in addition to file

2017-10-26 Thread Jeff Hostetler
From: Jeff Hostetler I pulled commit 01/13 from Tuesday's partial clone part 1 patch series [1] and refactored the changes in dir.c to try to address Junio's comments in [2] WRT sharing more code with the existing read_skip_worktree_file_from_index(). This patch can be discussed independently of

[PATCH] dir: allow exclusions from blob in addition to file

2017-10-26 Thread Jeff Hostetler
From: Jeff Hostetler Refactor add_excludes() to separate the reading of the exclude file into a buffer and the parsing of the buffer into exclude_list items. Add add_excludes_from_blob_to_list() to allow an exclude file be specified with an OID without assuming a local worktree or index exists.