summaryrefslogtreecommitdiff
path: root/builtin/var.c
diff options
context:
space:
mode:
authorLibravatar Lars Schneider <larsxschneider@gmail.com>2017-06-30 22:41:27 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-30 13:50:21 -0700
commit1514c8edd62d96006cd1de31e906ed5798dd4681 (patch)
tree4d3065ce9d8f03106123b73ec3b096a4b86fe3aa /builtin/var.c
parentconvert: move multiple file filter error handling to separate function (diff)
downloadtgif-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 'builtin/var.c')
0 files changed, 0 insertions, 0 deletions