summaryrefslogtreecommitdiff
path: root/t/t4029-diff-trailing-space.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-06-20 10:37:43 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-20 15:50:16 -0700
commit7b40d3963835699e138d21f6040a60c07e797853 (patch)
tree207da50433373522c1e77db5ba10cdbffc698da9 /t/t4029-diff-trailing-space.sh
parentMerge branch 'mh/reflife' (diff)
downloadtgif-7b40d3963835699e138d21f6040a60c07e797853.tar.xz
repack_without_ref(): split list curation and entry writing
The repack_without_ref() function first removes the deleted ref from the internal packed-refs list, then writes the packed-refs list to disk, omitting any broken or stale entries. This patch splits that second step into multiple passes: * collect the list of refnames that should be deleted from packed_refs * delete those refnames from the cache * write the remainder to the packed-refs file The purpose of this change is to make the "write the remainder" part reusable. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4029-diff-trailing-space.sh')
0 files changed, 0 insertions, 0 deletions