summaryrefslogtreecommitdiff
path: root/blame.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-05 10:47:29 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-05 10:47:29 (GMT)
commit9201c707426b3dc0c894775416f576c25c008d46 (patch)
tree235727178999b09a9d26ff4c384199558761fe15 /blame.c
parent4a5d6939509f9aeef600ea17643caef4c898b12f (diff)
downloadgit-9201c707426b3dc0c894775416f576c25c008d46.zip
git-9201c707426b3dc0c894775416f576c25c008d46.tar.gz
git-9201c707426b3dc0c894775416f576c25c008d46.tar.bz2
Const tightening.
Mark Wooding noticed there was a type mismatch warning in git.c; this patch does things slightly differently (mostly tightening const) and was what I was holding onto, waiting for the setup-revisions change to be merged into the master branch. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'blame.c')
-rw-r--r--blame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/blame.c b/blame.c
index 7308c36..562940e 100644
--- a/blame.c
+++ b/blame.c
@@ -226,6 +226,7 @@ static void print_patch(struct patch *p)
}
}
+#if 0
/* For debugging only */
static void print_map(struct commit *cmit, struct commit *other)
{
@@ -259,6 +260,7 @@ static void print_map(struct commit *cmit, struct commit *other)
printf("\n");
}
}
+#endif
// p is a patch from commit to other.
static void fill_line_map(struct commit *commit, struct commit *other,