X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pretty.c;h=8eb39e915e730ff5039247695adc1e25c14773f4;hb=4df0d7af6be27fe5b0ffef438ef0169607253f66;hp=687293224c3bca20da413d132e17a436e2c79990;hpb=e13067a7499f3cbf543d4a30865c70613f055b4b;p=git.git diff --git a/pretty.c b/pretty.c index 687293224..8eb39e915 100644 --- a/pretty.c +++ b/pretty.c @@ -28,8 +28,6 @@ void get_commit_format(const char *arg, struct rev_info *rev) rev->commit_format = CMIT_FMT_DEFAULT; return; } - if (*arg == '=') - arg++; if (!prefixcmp(arg, "format:") || !prefixcmp(arg, "tformat:")) { const char *cp = strchr(arg, ':') + 1; free(user_format);