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
History
File Mode Size
.gitignore -rw-r--r-- 7 bytes
README -rw-r--r-- 9.9 KB
TEAMS -rw-r--r-- 1.9 KB
bg.po -rw-r--r-- 413.1 KB
ca.po -rw-r--r-- 305.5 KB
de.po -rw-r--r-- 326.0 KB
fr.po -rw-r--r-- 321.3 KB
git.pot -rw-r--r-- 201.6 KB
is.po -rw-r--r-- 3.1 KB
it.po -rw-r--r-- 128.2 KB
pt_PT.po -rw-r--r-- 99.8 KB
sv.po -rw-r--r-- 311.4 KB
vi.po -rw-r--r-- 348.5 KB
zh_CN.po -rw-r--r-- 303.0 KB

README

back to top