repo.or.cz
/
git
/
mingw
/
4msysgit
/
wingit-dll.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
GIT 1.4.0
[git/mingw/4msysgit/wingit-dll.git]
/
builtin-check-ref-format.c
blob
4a23936aff8c21ca42a1b1e460543b1c775ccb45
1
/*
2
* GIT - The information manager from hell
3
*/
4
5
#include
"cache.h"
6
#include
"refs.h"
7
#include
"builtin.h"
8
9
int
cmd_check_ref_format
(
int
argc
,
const char
**
argv
,
char
**
envp
)
10
{
11
if
(
argc
!=
2
)
12
usage
(
"git check-ref-format refname"
);
13
return
!!
check_ref_format
(
argv
[
1
]);
14
}