summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ea4d4c)
raw | patch | inline | side by side (parent: 0ea4d4c)
author | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 25 Aug 2006 00:48:04 +0000 (02:48 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 26 Aug 2006 04:26:12 +0000 (21:26 -0700) |
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
describe.c | patch | blob | history |
diff --git a/describe.c b/describe.c
index 2b9301fc1205795e30dfd7a7493cb03cdebdb437..5dd8b2e3977a2ff724ca208621f76a898cff0389 100644 (file)
--- a/describe.c
+++ b/describe.c
struct commit_name *name = xmalloc(sizeof(struct commit_name) + len);
name->commit = commit;
- name->prio = prio;
+ name->prio = prio;
memcpy(name->path, path, len);
idx = names;
if (idx >= allocs) {
tags = 1;
else if (!strncmp(arg, "--abbrev=", 9)) {
abbrev = strtoul(arg + 9, NULL, 10);
- if (abbrev < MINIMUM_ABBREV || 40 <= abbrev)
+ if (abbrev < MINIMUM_ABBREV || 40 < abbrev)
abbrev = DEFAULT_ABBREV;
}
else