2006-05-18 14:15:55 +02:00
|
|
|
/*
|
|
|
|
* GIT - The information manager from hell
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "cache.h"
|
|
|
|
#include "refs.h"
|
|
|
|
#include "builtin.h"
|
|
|
|
|
2006-07-29 07:44:25 +02:00
|
|
|
int cmd_check_ref_format(int argc, const char **argv, const char *prefix)
|
2006-05-18 14:15:55 +02:00
|
|
|
{
|
|
|
|
if (argc != 2)
|
2006-08-04 06:55:41 +02:00
|
|
|
usage("git-check-ref-format refname");
|
2006-05-18 14:15:55 +02:00
|
|
|
return !!check_ref_format(argv[1]);
|
|
|
|
}
|