]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fast-import.c
fast-import: add helper function for inserting mark object entries
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 22 Feb 2020 20:17:46 +0000 (20:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Feb 2020 17:53:41 +0000 (09:53 -0800)
commitabe0cc536414f2b9cfa37f208b36df5126e6356a
tree8b080500e334195a299787259458f34477cdb60e
parentddddf8d7e254f4af6297d0ed62ea6a5d7eabdb64
fast-import: add helper function for inserting mark object entries

Currently, everything we want to insert into a mark set is an object
entry. However, in the future, we will want to insert objects of other
types. Teach read_mark_file to take a function pointer which helps us
insert the object we want into our mark set.

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