aboutsummaryrefslogtreecommitdiff
path: root/parse-options.h
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2008-02-29 01:44:56 +0000
committerJunio C Hamano <gitster@pobox.com>2008-03-01 01:51:44 -0800
commit363d59df1a773039d0c69ad8c3109a56bb1b491d (patch)
tree3ab55d630a49bbc31ed87e847388bda83268af35 /parse-options.h
parent6d21667206c4c2b10aad99eca1530a4f17c4e61d (diff)
downloadgit-363d59df1a773039d0c69ad8c3109a56bb1b491d.tar.gz
git-363d59df1a773039d0c69ad8c3109a56bb1b491d.tar.xz
path-list: add functions to work with unsorted lists
Up to now, path-lists were sorted at all times. But sometimes it is much more convenient to build the list and sort it at the end, or sort it not at all. Add path_list_append() and sort_path_list() to allow that. Also, add the unsorted_path_list_has_path() function, to do a linear search. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.h')
0 files changed, 0 insertions, 0 deletions