summaryrefslogtreecommitdiff
path: root/builtin-rev-parse.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-06 00:16:35 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-06 17:18:30 -0700
commitb7d936b2fd917bef7acf0edb086de5902449b780 (patch)
tree2cc3ee4db8bc17acf34837b1bf8de96a4a3139cc /builtin-rev-parse.c
parent58ecf5c1cd9b2f712f85e23f065d3214cd867a71 (diff)
downloadgit-b7d936b2fd917bef7acf0edb086de5902449b780.tar.gz
builtin-rev-parse.c: constness tightening
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-rev-parse.c')
-rw-r--r--builtin-rev-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-rev-parse.c b/builtin-rev-parse.c
index 4377d357c4..b3e4386c1b 100644
--- a/builtin-rev-parse.c
+++ b/builtin-rev-parse.c
@@ -164,7 +164,7 @@ static int show_file(const char *arg)
return 0;
}
-static int try_difference(char *arg)
+static int try_difference(const char *arg)
{
char *dotdot;
unsigned char sha1[20];