Staging
v0.5.1
https://github.com/git/git
Revision 9bd81e4249a419f9cde8fd68e033e263533f4914 authored by Junio C Hamano on 25 May 2008, 21:25:02 UTC, committed by Junio C Hamano on 25 May 2008, 21:25:02 UTC
* js/config-cb:
  Provide git_config with a callback-data parameter

Conflicts:

	builtin-add.c
	builtin-cat-file.c
2 parent s 450c5ae + ef90d6d
Raw File
Tip revision: 9bd81e4249a419f9cde8fd68e033e263533f4914 authored by Junio C Hamano on 25 May 2008, 21:25:02 UTC
Merge branch 'js/config-cb'
Tip revision: 9bd81e4
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