]> git.ipfire.org Git - thirdparty/git.git/commit - shallow.c
shallow.c: use commit-slab for commit depth instead of commit->util
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 19 May 2018 05:28:21 +0000 (07:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 May 2018 05:07:20 +0000 (14:07 +0900)
commit58dbe58faab42a70478627608b129db9a6d9c3e0
treea67f56c117d2dd03b84a51bd1196a05358202837
parentc6b7206b0d532d2d1eb4518d2d680b7f3ce105cd
shallow.c: use commit-slab for commit depth instead of commit->util

It's done so that commit->util can be removed. See more explanation in
the commit that removes commit->util.

While at there, plug a leak for keeping track of depth in this code.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
shallow.c