summaryrefslogtreecommitdiff
path: root/builtin-checkout.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-03 22:15:09 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-03 22:15:09 -0700
commit471793f91e4bd61bb809045c7088a30ee1305a19 (patch)
tree59ac36f8958245a95393cc9147942ed8db50fc01 /builtin-checkout.c
parent47458bb9d19236175ea679ab070dfc6ae653ec97 (diff)
parent6233a5210ef64ba31bbf0e867e03e9176e0aace9 (diff)
downloadgit-471793f91e4bd61bb809045c7088a30ee1305a19.tar.gz
Merge branch 'maint'
* maint: checkout: don't rfc2047-encode oneline on detached HEAD filter-branch: Documentation fix.
Diffstat (limited to 'builtin-checkout.c')
-rw-r--r--builtin-checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-checkout.c b/builtin-checkout.c
index 14b2fe7760..10ec137cce 100644
--- a/builtin-checkout.c
+++ b/builtin-checkout.c
@@ -142,7 +142,7 @@ static void describe_detached_head(char *msg, struct commit *commit)
struct strbuf sb;
strbuf_init(&sb, 0);
parse_commit(commit);
- pretty_print_commit(CMIT_FMT_ONELINE, commit, &sb, 0, "", "", 0, 0);
+ pretty_print_commit(CMIT_FMT_ONELINE, commit, &sb, 0, NULL, NULL, 0, 0);
fprintf(stderr, "%s %s... %s\n", msg,
find_unique_abbrev(commit->object.sha1, DEFAULT_ABBREV), sb.buf);
strbuf_release(&sb);