aboutsummaryrefslogtreecommitdiff
path: root/builtin-log.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-12 17:07:03 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-12 17:07:03 -0800
commitcd1bea918bde5b32cf29159acac067bd238825b3 (patch)
treecd7175e8dfd4c84fd581313e5ef27fe9dbae3f90 /builtin-log.c
parent3e5f260144514f305a529bb2fe2efa7138a6b10a (diff)
parent3384a2dfc12f0fecd25ecfd6bfa9ee0d82517bf2 (diff)
downloadgit-cd1bea918bde5b32cf29159acac067bd238825b3.tar.gz
git-cd1bea918bde5b32cf29159acac067bd238825b3.tar.xz
Merge branch 'jc/shortlog-e'
* jc/shortlog-e: shortlog: default to HEAD when the standard input is a tty Invert numbers and names in the git-shortlog summary mode. shortlog: document -e option git-shortlog -e: show e-mail address as well
Diffstat (limited to 'builtin-log.c')
-rw-r--r--builtin-log.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/builtin-log.c b/builtin-log.c
index b6a11220e..cc3cc9069 100644
--- a/builtin-log.c
+++ b/builtin-log.c
@@ -18,9 +18,6 @@
static int default_show_root = 1;
static const char *fmt_patch_subject_prefix = "PATCH";
-/* this is in builtin-diff.c */
-void add_head(struct rev_info *revs);
-
static void add_name_decoration(const char *prefix, const char *name, struct object *obj)
{
int plen = strlen(prefix);
@@ -746,7 +743,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
* does not have.
*/
rev.pending.objects[0].item->flags |= UNINTERESTING;
- add_head(&rev);
+ add_head_to_pending(&rev);
}
/*
* Otherwise, it is "format-patch -22 HEAD", and/or