]> git.ipfire.org Git - thirdparty/git.git/commit - entry.c
entry: factor out unlink_entry function
authorThomas Gummerer <t.gummerer@gmail.com>
Thu, 20 Dec 2018 13:48:14 +0000 (13:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2019 23:28:05 +0000 (15:28 -0800)
commitb702dd12d52816e192578c6206db5e6c332ba49b
tree75999dad3b2d37c79cca7a1a4e1360544b08b119
parenta0cc58450a8ac81ba405f1e161599263d1678686
entry: factor out unlink_entry function

Factor out the 'unlink_entry()' function from unpack-trees.c to
entry.c.  It will be used in other places as well in subsequent
steps.

As it's no longer a static function, also move the documentation to
the header file to make it more discoverable.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
entry.c
unpack-trees.c