summaryrefslogtreecommitdiff
path: root/reachable.h
Commit message (Collapse)AuthorAgeFilesLines
* prune: show progress while marking reachable objectsNguyễn Thái Ngọc Duy2011-11-071-1/+2
| | | | | | | | | prune already shows progress meter while pruning. The marking part may take a few seconds or more, depending on repository size. Show progress meter during this time too. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* Move traversal of reachable objects into a separate library.Junio C Hamano2007-01-061-0/+6
This moves major part of builtin-prune into a separate file, reachable.c. It is used to mark the objects that are reachable from refs, and optionally from reflogs. The patch looks very large, but if you look at it with diff -C, which this message is formatted in, most of them are copied lines and there are very little additions. Signed-off-by: Junio C Hamano <junkio@cox.net>