summaryrefslogtreecommitdiff
path: root/update-ref.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-10-13 11:03:18 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-14 17:17:27 -0700
commit4546738b58a0134eef154231b07d60fc174d56e3 (patch)
tree873d8e5652c06c3891278f33546c437efc209c2d /update-ref.c
parentd402d5566fdf226697a386dfb9858e5d954e9b91 (diff)
downloadgit-4546738b58a0134eef154231b07d60fc174d56e3.tar.gz
Unlocalized isspace and friends
Do our own ctype.h, just to get the sane semantics: we want locale-independence, _and_ we want the right signed behaviour. Plus we only use a very small subset of ctype.h anyway (isspace, isalpha, isdigit and isalnum). Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'update-ref.c')
-rw-r--r--update-ref.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/update-ref.c b/update-ref.c
index 4a1704c1a5..65dc3d6385 100644
--- a/update-ref.c
+++ b/update-ref.c
@@ -1,6 +1,5 @@
#include "cache.h"
#include "refs.h"
-#include <ctype.h>
static const char git_update_ref_usage[] = "git-update-ref <refname> <value> [<oldval>]";