Staging
v0.5.2
https://github.com/git/git
Revision 18023c20656265364d4d1805f435e8420ab70687 authored by Horst H. von Brand on 28 March 2008, 14:09:04 UTC, committed by Junio C Hamano on 21 May 2008, 20:05:50 UTC
Need to quote all special characters, not just the first one

Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e4d594c
Raw File
Tip revision: 18023c20656265364d4d1805f435e8420ab70687 authored by Horst H. von Brand on 28 March 2008, 14:09:04 UTC
Fix recipient santitization
Tip revision: 18023c2
builtin-check-ref-format.c
/*
 * GIT - The information manager from hell
 */

#include "cache.h"
#include "refs.h"
#include "builtin.h"

int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
{
	if (argc != 2)
		usage("git-check-ref-format refname");
	return !!check_ref_format(argv[1]);
}
back to top