From: Christian Couder Date: Sat, 09 Nov 2013 07:06:44 GMT Subject: [PATCH 51/86] builtin/column: replace prefixcmd() with has_prefix() Message-ID: <20131109070720.18178.99199.chriscool@tuxfamily.org> In-Reply-To: <20131109070358.18178.40248.chriscool@tuxfamily.org> Signed-off-by: Christian Couder --- builtin/column.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/column.c b/builtin/column.c index e125a55..3664cc1 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 && has_prefix(argv[1], "--command=")) { command = argv[1] + 10; git_config(column_config, (void *)command); } else -- 1.8.4.1.566.geca833c