summaryrefslogtreecommitdiff
path: root/Documentation/git-gc.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-02-13 18:26:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-14 02:20:44 (GMT)
commite9cc02f0e41fd5d2f51e3c3f2b4f8cfa9e434432 (patch)
treeaded218cfeff8d691a0b2b68c027e2d099621ee4 /Documentation/git-gc.txt
parent4b15b4ab5f9b19caff6d4a910ecc3e1d4f0e13f0 (diff)
downloadgit-e9cc02f0e41fd5d2f51e3c3f2b4f8cfa9e434432.zip
git-e9cc02f0e41fd5d2f51e3c3f2b4f8cfa9e434432.tar.gz
git-e9cc02f0e41fd5d2f51e3c3f2b4f8cfa9e434432.tar.bz2
symbolic-ref: allow refs/<whatever> in HEAD
Commit afe5d3d5 introduced a safety valve to symbolic-ref to disallow installing an invalid HEAD. It was accompanied by b229d18a, which changed validate_headref to require that HEAD contain a pointer to refs/heads/ instead of just refs/. Therefore, the safety valve also checked for refs/heads/. As it turns out, topgit is using refs/top-bases/ in HEAD, leading us to re-loosen (at least temporarily) the validate_headref check made in b229d18a. This patch does the corresponding loosening for the symbolic-ref safety valve, so that the two are in agreement once more. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-gc.txt')
0 files changed, 0 insertions, 0 deletions