summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'show-index.c')
-rw-r--r--show-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/show-index.c b/show-index.c
index acf8d5445a..575f9c5894 100644
--- a/show-index.c
+++ b/show-index.c
@@ -4,7 +4,7 @@
static const char show_index_usage[] =
"git show-index";
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
{
int i;
unsigned nr;