summaryrefslogtreecommitdiff
path: root/diff-files.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-21 22:02:51 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 22:17:16 (GMT)
commit057c7d30183672d6ef96a9f3e87860058e1c08f8 (patch)
tree026026160f4ed32ba994abbcdfaa42fa59a496a0 /diff-files.c
parent3258c902e7f286d770ed6fba9219973b2b5bc01d (diff)
downloadgit-057c7d30183672d6ef96a9f3e87860058e1c08f8.zip
git-057c7d30183672d6ef96a9f3e87860058e1c08f8.tar.gz
git-057c7d30183672d6ef96a9f3e87860058e1c08f8.tar.bz2
[PATCH] Constness fix for pickaxe option.
Constness fix for pickaxe option. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff-files.c')
-rw-r--r--diff-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-files.c b/diff-files.c
index a3c523f..6dca9e0 100644
--- a/diff-files.c
+++ b/diff-files.c
@@ -14,7 +14,7 @@ static int line_termination = '\n';
static int detect_rename = 0;
static int reverse_diff = 0;
static int diff_score_opt = 0;
-static char *pickaxe = 0;
+static const char *pickaxe = NULL;
static int silent = 0;
static int matches_pathspec(struct cache_entry *ce, char **spec, int cnt)