summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-31 07:09:26 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-31 07:09:26 (GMT)
commit8e29f903eb366b2d2e846dc35ec4510d2cb263ad (patch)
tree7b44b7c344f1dae36365d42e6164fc112849fded /sha1_file.c
parenta192a909c0cdb8ea09b6513c4839fd6762989cb1 (diff)
parent17014090036b9b996707dfca5af69f1e87bd2315 (diff)
downloadgit-8e29f903eb366b2d2e846dc35ec4510d2cb263ad.zip
git-8e29f903eb366b2d2e846dc35ec4510d2cb263ad.tar.gz
git-8e29f903eb366b2d2e846dc35ec4510d2cb263ad.tar.bz2
Merge branch 'maint-1.5.1' into maint
* maint-1.5.1: git-config: Improve documentation of git-config file handling git-config: Various small fixes to asciidoc documentation decode_85(): fix missing return. fix signed range problems with hex conversions
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c
index be991ed..c2f807f 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -33,7 +33,7 @@ const unsigned char null_sha1[20];
static unsigned int sha1_file_open_flag = O_NOATIME;
-signed char hexval_table[256] = {
+const signed char hexval_table[256] = {
-1, -1, -1, -1, -1, -1, -1, -1, /* 00-07 */
-1, -1, -1, -1, -1, -1, -1, -1, /* 08-0f */
-1, -1, -1, -1, -1, -1, -1, -1, /* 10-17 */