Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
log --pretty: do not accept bogus "--prettyshort"
[gitweb.git]
/
pretty.c
diff --git
a/pretty.c
b/pretty.c
index 687293224c3bca20da413d132e17a436e2c79990..8eb39e915e730ff5039247695adc1e25c14773f4 100644
(file)
--- 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);