aboutsummaryrefslogtreecommitdiffstats
path: root/diff-helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-21 15:02:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 15:17:16 -0700
commit057c7d30183672d6ef96a9f3e87860058e1c08f8 (patch)
tree026026160f4ed32ba994abbcdfaa42fa59a496a0 /diff-helper.c
parent3258c902e7f286d770ed6fba9219973b2b5bc01d (diff)
downloadgit-057c7d30183672d6ef96a9f3e87860058e1c08f8.tar.gz
[PATCH] Constness fix for pickaxe option.
Constness fix for pickaxe option. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff-helper.c')
-rw-r--r--diff-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-helper.c b/diff-helper.c
index 568d5ae356..3c39c96d7e 100644
--- a/diff-helper.c
+++ b/diff-helper.c
@@ -9,7 +9,7 @@
static int detect_rename = 0;
static int diff_score_opt = 0;
static int generate_patch = 1;
-static char *pickaxe = 0;
+static const char *pickaxe = NULL;
static int parse_oneside_change(const char *cp, int *mode,
unsigned char *sha1, char *path)