Code

Disallow '\' in ref names
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 8 May 2009 05:32:37 +0000 (07:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 May 2009 08:35:49 +0000 (01:35 -0700)
commita4c2e69936df8dd0b071b85664c6cc6a4870dd84
tree45483a8bdac09aa9d018908ae21dca603aa9e890
parentf01f1099f40f24fe6f7802185340a6fa3a3d4f35
Disallow '\' in ref names

This is asking for trouble since '\' is a directory separator in
Windows and thus may produce unpredictable results.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-check-ref-format.txt
refs.c