summaryrefslogtreecommitdiff
path: root/builtin/column.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/column.c')
-rw-r--r--builtin/column.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/column.c b/builtin/column.c
index e125a55fc9..75818520e1 100644
--- a/builtin/column.c
+++ b/builtin/column.c
@@ -34,7 +34,7 @@ int cmd_column(int argc, const char **argv, const char *prefix)
};
/* This one is special and must be the first one */
- if (argc > 1 && !prefixcmp(argv[1], "--command=")) {
+ if (argc > 1 && starts_with(argv[1], "--command=")) {
command = argv[1] + 10;
git_config(column_config, (void *)command);
} else