Refuse to create funny refs in clone-pack, git-fetch and receive-pack.
authorJunio C Hamano <junkio@cox.net>
Sun, 16 Oct 2005 00:10:14 +0000 (17:10 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 16 Oct 2005 00:10:14 +0000 (17:10 -0700)
commit48bc2fb0cd9ca05005c2062c3493e62e13593f55
tree2c0bccb31f8215ae4b49f3b667e300e824792e0e
parent652d5dc6c0aef842eafcd9d2f73a4836d20734e2
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