Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-describe: --long shows the object name even for a tagged commit
[gitweb.git]
/
builtin-shortlog.c
diff --git
a/builtin-shortlog.c
b/builtin-shortlog.c
index fa8bc7d02a2268d99dcc829cb3adbee10c949306..0055a57aeb24392de0dcf337bb93f30fceccd88f 100644
(file)
--- a/
builtin-shortlog.c
+++ b/
builtin-shortlog.c
@@
-136,7
+136,8
@@
static void get_from_rev(struct rev_info *rev, struct path_list *list)
{
struct commit *commit;
- prepare_revision_walk(rev);
+ if (prepare_revision_walk(rev))
+ die("revision walk setup failed");
while ((commit = get_revision(rev)) != NULL) {
const char *author = NULL, *buffer;