Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sp/merge' (early part)
[gitweb.git]
/
builtin-describe.c
diff --git
a/builtin-describe.c
b/builtin-describe.c
index d65c7d286ddc6878a2d3936b9546839fec9ef997..a8c98cea163a28cafb9b23861bd976b6354c2def 100644
(file)
--- a/
builtin-describe.c
+++ b/
builtin-describe.c
@@
-183,6
+183,7
@@
static void describe(const char *arg, int last_one)
cur_match->depth++;
if (!min_match || cur_match->depth < min_match->depth)
min_match = cur_match;
+ free_commit_list(revs.commits);
}
printf("%s-g%s\n", min_match->name->path,
find_unique_abbrev(cmit->object.sha1, abbrev));