aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/show-branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/show-branch.c')
-rw-r--r--builtin/show-branch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/show-branch.c b/builtin/show-branch.c
index 29237f653d..05c10628df 100644
--- a/builtin/show-branch.c
+++ b/builtin/show-branch.c
@@ -632,7 +632,10 @@ static int parse_reflog_param(const struct option *opt, const char *arg,
return 0;
}
-int cmd_show_branch(int ac, const char **av, const char *prefix)
+int cmd_show_branch(int ac,
+ const char **av,
+ const char *prefix,
+ struct repository *repo UNUSED)
{
struct commit *rev[MAX_REVS], *commit;
char *reflog_msg[MAX_REVS] = {0};