Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
blame: use DEFAULT_ABBREV macro
author
Junio C Hamano
<gitster@pobox.com>
Wed, 28 Sep 2016 21:56:00 +0000
(14:56 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 28 Sep 2016 21:56:00 +0000
(14:56 -0700)
This does not make any practical difference in today's code, but
everybody else accesses the default abbreviation length via the
DEFAULT_ABBREV macro. Make sure this oddball codepath does not
stray from the convention.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7c0304a
)
diff --git
a/builtin/blame.c
b/builtin/blame.c
index a5bbf91e497524215c884f1e145070afcf3f586a..f618392e55f70966accc49aa7ff22de2d16f189f 100644
(file)
--- a/
builtin/blame.c
+++ b/
builtin/blame.c
@@
-2111,7
+2111,7
@@
static void find_alignment(struct scoreboard *sb, int *option)
unsigned largest_score = 0;
struct blame_entry *e;
int compute_auto_abbrev = (abbrev < 0);
- int auto_abbrev =
default_abbrev
;
+ int auto_abbrev =
DEFAULT_ABBREV
;
for (e = sb->ent; e; e = e->next) {
struct origin *suspect = e->suspect;