summaryrefslogtreecommitdiff
path: root/mergetools
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2020-02-22 20:17:48 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-28 09:53:41 -0800
commitd9db599ca85b008faedc1d5e771e28b6fb648c4e (patch)
treeddf59df0ecac306b2c8d24d934b18796fa32667b /mergetools
parentfast-import: make find_marks work on any mark set (diff)
downloadtgif-d9db599ca85b008faedc1d5e771e28b6fb648c4e.tar.xz
fast-import: add a generic function to iterate over marks
Currently, we can iterate over marks only to dump them to a file. In the future, we'll want to perform an arbitrary operation over the items of a mark set. Add a function, for_each_mark, that iterates over marks in a set and performs an arbitrary callback function for each mark. Switch the mark dumping routine to use this function now that it's available. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergetools')
0 files changed, 0 insertions, 0 deletions