summaryrefslogtreecommitdiff
path: root/update-ref.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-10-13 18:03:18 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-15 00:17:27 (GMT)
commit4546738b58a0134eef154231b07d60fc174d56e3 (patch)
tree873d8e5652c06c3891278f33546c437efc209c2d /update-ref.c
parentd402d5566fdf226697a386dfb9858e5d954e9b91 (diff)
downloadgit-4546738b58a0134eef154231b07d60fc174d56e3.zip
git-4546738b58a0134eef154231b07d60fc174d56e3.tar.gz
git-4546738b58a0134eef154231b07d60fc174d56e3.tar.bz2
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 4a1704c..65dc3d6 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>]";