shallow: remove unused code
commitfeefdf62c107fd63056becf547ea324dbb730e30
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Mon, 6 Jan 2014 00:00:58 +0000 (6 00:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jan 2014 17:05:40 +0000 (6 09:05 -0800)
tree0f43e3964659c0ee9fac199e5e48ce760debb92f
parent16a2743cd08c74d71b17e663c05c878fddffa03c
shallow: remove unused code

Commit 58babfff ("shallow.c: the 8 steps to select new commits for
.git/shallow", 05-12-2013) added a function to implement step 5 of
the quoted eight steps, namely 'remove_nonexistent_ours_in_pack()'.
This function implements an optional optimization step in the new
shallow commit selection algorithm. However, this function has no
callers. (The commented out call sites would need to change, in
order to provide information required by the function.)

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c
commit.h
fetch-pack.c
shallow.c