summaryrefslogtreecommitdiff
path: root/builtin/send-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-08 21:06:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-01-08 22:26:28 (GMT)
commitf47182c852601c045f62bd7f669360a920516311 (patch)
tree3420752253cf8a865d954b01ffc983051ba50e38 /builtin/send-pack.c
parenteac2d83247ea0a265d923518c26873bb12c33778 (diff)
downloadgit-f47182c852601c045f62bd7f669360a920516311.zip
git-f47182c852601c045f62bd7f669360a920516311.tar.gz
git-f47182c852601c045f62bd7f669360a920516311.tar.bz2
server_supports(): parse feature list more carefully
We have been carefully choosing feature names used in the protocol extensions so that the vocabulary does not contain a word that is a substring of another word, so it is not a real problem, but we have recently added "quiet" feature word, which would mean we cannot later add some other word with "quiet" (e.g. "quiet-push"), which is awkward. Let's make sure that we can eventually be able to do so by teaching the clients and servers that feature words consist of non whitespace letters. This parser also allows us to later add features with parameters e.g. "feature=1.5" (parameter values need to be quoted for whitespaces, but we will worry about the detauls when we do introduce them). Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/send-pack.c')
0 files changed, 0 insertions, 0 deletions