mirror of
https://github.com/git/git.git
synced 2024-11-17 22:44:49 +01:00
34baebcee1
User notifications are presented as 'git cmd', and code comments are presented as '"cmd"' or 'git's cmd', rather than 'git-cmd'. Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 lines
282 B
C
14 lines
282 B
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]);
|
|
}
|