Code

builtin-rev-parse.c: constness tightening
authorJunio C Hamano <junkio@cox.net>
Thu, 6 Jul 2006 07:16:35 +0000 (00:16 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 7 Jul 2006 00:18:30 +0000 (17:18 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-rev-parse.c

index 4377d357c4ee173835ac19d77572d361431baa58..b3e4386c1baec7c3a56704e61e44e575203ab759 100644 (file)
@@ -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];