summaryrefslogtreecommitdiff
path: root/oidset.c
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2017-11-21 20:58:47 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-22 14:11:56 +0900
commit578d81d0c445f714dce46d5f4e3f599ac3a94c75 (patch)
treed8dbfbc67045d979e728c24df55b577fef77dc99 /oidset.c
parentGit 2.15 (diff)
downloadtgif-578d81d0c445f714dce46d5f4e3f599ac3a94c75.tar.xz
dir: allow exclusions from blob in addition to file
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. Refactor read_skip_worktree_file_from_index() and add do_read_blob() to eliminate duplication of preliminary processing of blob contents. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'oidset.c')
0 files changed, 0 insertions, 0 deletions