summaryrefslogtreecommitdiff
path: root/t/t3200-branch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-12-08 23:18:41 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-12-08 23:18:41 -0800
commit2b86976bfd6e42609692d57fffaef72bd985c23a (patch)
treec0839ba1ec37f195a19a5cca13cf6fe499088494 /t/t3200-branch.sh
parentqsort(): ptrdiff_t may be larger than int (diff)
downloadtgif-2b86976bfd6e42609692d57fffaef72bd985c23a.tar.xz
git-prune: never lose objects reachable from our refs.
Explicit <head> arguments to git-prune replaces, instead of extends, the list of heads used for reachability analysis by fsck-objects. By giving a subset of heads by mistake, objects reachable only from other heads can be removed, resulting in a corrupted repository. This commit stops replacing the list of heads, and makes the command line arguments to add to them instead for safety. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3200-branch.sh')
0 files changed, 0 insertions, 0 deletions