aboutsummaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-25 14:46:12 -0700
committerJunio C Hamano <gitster@pobox.com>2009-08-25 14:46:12 -0700
commitd6d994d9115ee7ce5bb5ffcfb75fea838174b9c4 (patch)
tree5c5c94d5853acf90d9e379de637c7b21ba5dc92f /pretty.c
parentb91069ae9a6cb2d92fa6a5ed6d258bed530abcc7 (diff)
parent33e7018c459e6583b899690cabd21c808ffd3c85 (diff)
downloadgit-d6d994d9115ee7ce5bb5ffcfb75fea838174b9c4.tar.gz
git-d6d994d9115ee7ce5bb5ffcfb75fea838174b9c4.tar.xz
Merge branch 'lh/short-decorate'
* lh/short-decorate: git-log: allow --decorate[=short|full]
Diffstat (limited to 'pretty.c')
-rw-r--r--pretty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretty.c b/pretty.c
index 3b2ecdd20..f5983f8ba 100644
--- a/pretty.c
+++ b/pretty.c
@@ -583,7 +583,7 @@ static void format_decoration(struct strbuf *sb, const struct commit *commit)
struct name_decoration *d;
const char *prefix = " (";
- load_ref_decorations();
+ load_ref_decorations(DECORATE_SHORT_REFS);
d = lookup_decoration(&name_decoration, &commit->object);
while (d) {
strbuf_addstr(sb, prefix);