]> git.e2factory.org Git - e2factory.git/commit
request much less data from git when inspecting a tag
authorRolf Eike Beer <eb@emlix.com>
Fri, 9 Feb 2024 12:08:53 +0000 (13:08 +0100)
committerRolf Eike Beer <eb@emlix.com>
Tue, 22 Jul 2025 08:27:55 +0000 (10:27 +0200)
commitb596215c96b86eb3cad6ab0e02950908b938c7d9
tree04053f8c969860a9dac200c5c4386350d1aab127
parent7c5af1509551cd5649093e379151be238a67def3
request much less data from git when inspecting a tag

When calling "git ls-remote" or "git show-ref" they will output all existing
objects. Especially when working with stable kernel repositories this can be
a large amount of data. This can even cause pipe overflows when the internal
pipe buffer can not accept the >600kB of data that are returned in my case.

When checking a tag tell those commands to output only the matching refs, which
will greatly reduce the data returned and will speed up processing at both ends.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Changelog
generic/generic_git.lua