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