diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-05-22 16:17:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-23 14:29:55 +0900 |
commit | 531cc4a56da1eff87cb57d90012197eb6d721edd (patch) | |
tree | 6bb6caa35ec9c613d258b1d501185d4572e19b44 /t/t4013/diff.diff-tree_--pretty_initial | |
parent | ref_update_reject_duplicates(): add a sanity check (diff) | |
download | tgif-531cc4a56da1eff87cb57d90012197eb6d721edd.tar.xz |
should_pack_ref(): new function, extracted from `files_pack_refs()`
Extract a function for deciding whether a reference should be packed.
It is a self-contained bit of logic, so splitting it out improves
readability.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_initial')
0 files changed, 0 insertions, 0 deletions