summaryrefslogtreecommitdiff
path: root/check-ref-format.c
diff options
context:
space:
mode:
authorLukas Sandström <lukass@etek.chalmers.se>2006-05-18 14:15:55 +0200
committerJunio C Hamano <junkio@cox.net>2006-05-18 15:51:38 -0700
commit9370bae2cef351617272aa142fbe4ce039833d13 (patch)
tree7265a2b5e3fbcdee3a5c45b0b4469016ad5891d6 /check-ref-format.c
parent5fb61b8dcfdf7bcec0793c071813e255d1803859 (diff)
downloadgit-9370bae2cef351617272aa142fbe4ce039833d13.tar.gz
Make git-check-format-ref a builtin.
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'check-ref-format.c')
-rw-r--r--check-ref-format.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/check-ref-format.c b/check-ref-format.c
deleted file mode 100644
index a0adb3dcb3..0000000000
--- a/check-ref-format.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * GIT - The information manager from hell
- */
-
-#include "cache.h"
-#include "refs.h"
-
-#include <stdio.h>
-
-int main(int ac, char **av)
-{
- if (ac != 2)
- usage("git-check-ref-format refname");
- if (check_ref_format(av[1]))
- exit(1);
- return 0;
-}