Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-merge --squash
[gitweb.git]
/
builtin-log.c
diff --git
a/builtin-log.c
b/builtin-log.c
index 9187fd337ba767384abab26224b95610aa531807..5a8a50b81dabea4ccd9b0ba0fcb5d925a00560d0 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-257,8
+257,8
@@
int cmd_format_patch(int argc, const char **argv, char **envp)
output_directory);
}
- if (rev.pending
_objects && rev.pending_objects->next == NULL
) {
- rev.pending
_objects->
item->flags |= UNINTERESTING;
+ if (rev.pending
.nr == 1
) {
+ rev.pending
.objects[0].
item->flags |= UNINTERESTING;
add_head(&rev);
}