summaryrefslogtreecommitdiff
path: root/test-dump-untracked-cache.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2015-06-22 15:25:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-06-22 19:53:25 (GMT)
commitf417eed8cde2e7def06091977f888c296cbeae00 (patch)
treedbdcb7d3643b695da8df7232cc18147dccdb93c5 /test-dump-untracked-cache.c
parentc99ba492f1cc3e632ed12d46d7358effb6fa7f03 (diff)
downloadgit-f417eed8cde2e7def06091977f888c296cbeae00.zip
git-f417eed8cde2e7def06091977f888c296cbeae00.tar.gz
git-f417eed8cde2e7def06091977f888c296cbeae00.tar.bz2
fsck: provide a function to parse fsck message IDs
These functions will be used in the next commits to allow the user to ask fsck to handle specific problems differently, e.g. demoting certain errors to warnings. The upcoming `fsck_set_msg_types()` function has to handle partial strings because we would like to be able to parse, say, 'missingemail=warn,missingtaggerentry=warn' command line parameters (which will be passed by receive-pack to index-pack and unpack-objects). To make the parsing robust, we generate strings from the enum keys, and using these keys, we match up strings without dashes case-insensitively to the corresponding enum values. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-dump-untracked-cache.c')
0 files changed, 0 insertions, 0 deletions