]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-ls-tree.c
cvsserver: avoid warning about active db handles
[thirdparty/git.git] / builtin-ls-tree.c
index 48385d59f6097258b83ebbf0156e1913043b6928..b8d0d88ba85d7c9770f64288971963250dc3391c 100644 (file)
@@ -53,7 +53,7 @@ static int show_recursive(const char *base, int baselen, const char *pathname)
        }
 }
 
-static int show_tree(unsigned char *sha1, const char *base, int baselen,
+static int show_tree(const unsigned char *sha1, const char *base, int baselen,
                     const char *pathname, unsigned mode, int stage)
 {
        int retval = 0;