summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2017-06-30 20:41:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-30 20:50:21 (GMT)
commit1514c8edd62d96006cd1de31e906ed5798dd4681 (patch)
tree4d3065ce9d8f03106123b73ec3b096a4b86fe3aa /entry.c
parent9364fc298a32b19fbfe545974cbf9e46d5c7e67f (diff)
downloadgit-1514c8edd62d96006cd1de31e906ed5798dd4681.zip
git-1514c8edd62d96006cd1de31e906ed5798dd4681.tar.gz
git-1514c8edd62d96006cd1de31e906ed5798dd4681.tar.bz2
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 'entry.c')
0 files changed, 0 insertions, 0 deletions