]> git.ipfire.org Git - thirdparty/git.git/commit - list-objects-filter-options.h
filter-options: expand scaled numbers
authorJosh Steadmon <steadmon@google.com>
Tue, 8 Jan 2019 00:17:09 +0000 (16:17 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2019 23:42:31 +0000 (15:42 -0800)
commit87c2d9d3102e6c388f2d29f1bdb0b3a222d9a707
treebfc01fed555a7f00b7ad226bed3ffafd0d70f2c0
parent8272f26034c9dbaf5cd216a137b8e91241cbc24e
filter-options: expand scaled numbers

When communicating with a remote server or a subprocess, use
expanded numbers rather than numbers with scaling suffix in the
object filter spec (e.g.  "limit:blob=1k" becomes
"limit:blob=1024").

Update the protocol docs to note that clients should always perform this
expansion, to allow for more compatibility between server
implementations.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/protocol-v2.txt
builtin/clone.c
builtin/fetch.c
fetch-pack.c
list-objects-filter-options.c
list-objects-filter-options.h
t/t6112-rev-list-filters-objects.sh
transport-helper.c
upload-pack.c