summaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-11 05:31:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-11 05:32:10 (GMT)
commit954cfb5cfd17d57b9b31b19b73efe73199407e07 (patch)
treef3baaaf7f25372b96e206b2bc3c8dd3940919433 /pretty.c
parentf1c8a48a2de69bfc9837c53f2c52ffbe7239dc3e (diff)
downloadgit-954cfb5cfd17d57b9b31b19b73efe73199407e07.zip
git-954cfb5cfd17d57b9b31b19b73efe73199407e07.tar.gz
git-954cfb5cfd17d57b9b31b19b73efe73199407e07.tar.bz2
Revert "Merge branch 'js/notes'"
This reverts commit 7b75b331f6744fbf953fe8913703378ef86a2189, reversing changes made to 5d680a67d7909c89af96eba4a2d77abed606292b.
Diffstat (limited to 'pretty.c')
-rw-r--r--pretty.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/pretty.c b/pretty.c
index 8d4dbc9..cc460b5 100644
--- a/pretty.c
+++ b/pretty.c
@@ -6,7 +6,6 @@
#include "string-list.h"
#include "mailmap.h"
#include "log-tree.h"
-#include "notes.h"
#include "color.h"
static char *user_format;
@@ -921,9 +920,5 @@ void pretty_print_commit(enum cmit_fmt fmt, const struct commit *commit,
*/
if (fmt == CMIT_FMT_EMAIL && sb->len <= beginning_of_body)
strbuf_addch(sb, '\n');
-
- if (fmt != CMIT_FMT_ONELINE)
- get_commit_notes(commit, sb, encoding);
-
free(reencoded);
}