Revision c40fdd01dd120c8c63da5e830ccdeb1518434bd6 authored by Max Kirillov on 03 September 2014, 16:14:10 UTC, committed by Junio C Hamano on 03 September 2014, 17:47:44 UTC
HEAD is not explicitly used as a starting commit for calculating reachability, so if it's detached and reflogs are disabled it may be pruned. Add tests which demonstrate it. Test 'prune: prune former HEAD after checking out branch' also reverts changes to repository. Signed-off-by: Max Kirillov <max@max630.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 96db324
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...