Staging
v0.8.1
Revision c36c5b845e1958bad1b69ee42e3da926de4f948b authored by Marc-Andre Lureau on 12 March 2008, 19:54:21 UTC, committed by Junio C Hamano on 13 March 2008, 04:03:39 UTC
commit-tree fails when specifying a remote name (via -r option) and
one of the parent branch has a name. Prefixing with "$remote/" fix it.

Signed-off-by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 7863c61
Raw File
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