]> git.ipfire.org Git - thirdparty/git.git/commit - server-info.c
server-info: remove unused members from struct pack_info
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 2 May 2018 00:25:30 +0000 (00:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2018 04:59:48 +0000 (13:59 +0900)
commit910710bb95f2678cdc8b6400fbb0a40c279c3e7f
tree7a839ee9719d76461a16e1cb411dad55c13f0e48
parent69d124255ede771ff8162652762406c55ba491c0
server-info: remove unused members from struct pack_info

The head member of struct pack_info is completely unused and the
nr_heads member is used only in one place, which is an assignment.  This
member was last usefully used in 3e15c67c90 (server-info: throw away T
computation as well, 2005-12-04).

Since this structure member is not useful, remove it.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
server-info.c