Code

Refuse to create funny refs in clone-pack, git-fetch and receive-pack.
authorJunio C Hamano <junkio@cox.net>
Fri, 14 Oct 2005 01:57:39 +0000 (18:57 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 15 Oct 2005 18:23:39 +0000 (11:23 -0700)
commitd8a1deecc6ef37728b951eaba051deb7e0a38af8
tree46880218861d52fb0c30d520030a70cd32bca163
parent03feddd6e8e779086ac2d131ded325f8e5601653
Refuse to create funny refs in clone-pack, git-fetch and receive-pack.

Using git-check-ref-format, make sure we do not create refs with
funny names when cloning from elsewhere (clone-pack), fast forwarding
local heads (git-fetch), or somebody pushes into us (receive-pack).

Signed-off-by: Junio C Hamano <junkio@cox.net>
clone-pack.c
git-parse-remote.sh
receive-pack.c