Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
make git clone -q suppress the noise with http fetch
[gitweb.git]
/
builtin-blame.c
diff --git
a/builtin-blame.c
b/builtin-blame.c
index b51cdc71faeca467cd3a965db0ff84d1f087076d..104521e673e37cc9d2c9a7f54dae5b3d4d957ea5 100644
(file)
--- a/
builtin-blame.c
+++ b/
builtin-blame.c
@@
-182,9
+182,8
@@
struct scoreboard {
static int cmp_suspect(struct origin *a, struct origin *b)
{
- int cmp = hashcmp(a->commit->object.sha1, b->commit->object.sha1);
- if (cmp)
- return cmp;
+ if (a->commit != b->commit)
+ return 1;
return strcmp(a->path, b->path);
}