Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pretty_print_commit(): pass commit object instead of commit->buffer.
[gitweb.git]
/
rev-parse.c
diff --git
a/rev-parse.c
b/rev-parse.c
index 8bf316eeddba1407927dd3fd1cd9b580f81d6840..a1aa86398a62559b8d04cde2a542edaee7290cf1 100644
(file)
--- a/
rev-parse.c
+++ b/
rev-parse.c
@@
-199,8
+199,8
@@
int main(int argc, char **argv)
verify = 1;
continue;
}
- if (!strcmp(arg, "--
abbrev
") ||
- !strncmp(arg, "--
abbrev
=", 9)) {
+ if (!strcmp(arg, "--
short
") ||
+ !strncmp(arg, "--
short
=", 9)) {
filter &= ~(DO_FLAGS|DO_NOREV);
verify = 1;
abbrev = DEFAULT_ABBREV;