diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2017-06-30 22:41:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-30 13:50:21 -0700 |
commit | 1514c8edd62d96006cd1de31e906ed5798dd4681 (patch) | |
tree | 4d3065ce9d8f03106123b73ec3b096a4b86fe3aa /t/t0009-prio-queue.sh | |
parent | convert: move multiple file filter error handling to separate function (diff) | |
download | tgif-1514c8edd62d96006cd1de31e906ed5798dd4681.tar.xz |
convert: refactor capabilities negotiation
The code to negotiate long running filter capabilities was very
repetitive for new capabilities. Replace the repetitive conditional
statements with a table-driven approach. This is useful for the
subsequent patch 'convert: add "status=delayed" to filter process
protocol'.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0009-prio-queue.sh')
0 files changed, 0 insertions, 0 deletions