summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-04-16 14:15:48 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-16 11:04:55 -0700
commitc9f7a793e81f517593383768ec8839dac85368c4 (patch)
treee9767ae9828ed510bb28a36be8444a87e7969ebf /Documentation/config
parentSync with v2.26.1 (diff)
downloadtgif-c9f7a793e81f517593383768ec8839dac85368c4.tar.xz
log-tree: make ref_filter_match() a helper method
The ref_filter_match() method is defined in refs.h and implemented in refs.c, but is only used by add_ref_decoration() in log-tree.c. Move it into that file as a static helper method. The match_ref_pattern() comes along for the ride. While moving the code, also make a slight adjustment to have ref_filter_match() take a struct decoration_filter pointer instead of multiple string lists. This is non-functional, but will make a later change be much cleaner. The diff is easier to parse when using the --color-moved option. Reported-by: Junio C Hamano <gister@pobox.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
0 files changed, 0 insertions, 0 deletions