diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-02-22 20:17:48 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-28 09:53:41 -0800 |
commit | d9db599ca85b008faedc1d5e771e28b6fb648c4e (patch) | |
tree | ddf59df0ecac306b2c8d24d934b18796fa32667b /t/perf/run | |
parent | fast-import: make find_marks work on any mark set (diff) | |
download | tgif-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 't/perf/run')
0 files changed, 0 insertions, 0 deletions