summaryrefslogtreecommitdiff
path: root/builtin-rev-parse.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-06 07:16:35 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-07 00:18:30 (GMT)
commitb7d936b2fd917bef7acf0edb086de5902449b780 (patch)
tree2cc3ee4db8bc17acf34837b1bf8de96a4a3139cc /builtin-rev-parse.c
parent58ecf5c1cd9b2f712f85e23f065d3214cd867a71 (diff)
downloadgit-b7d936b2fd917bef7acf0edb086de5902449b780.zip
git-b7d936b2fd917bef7acf0edb086de5902449b780.tar.gz
git-b7d936b2fd917bef7acf0edb086de5902449b780.tar.bz2
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 4377d35..b3e4386 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];