Merge branch 'maint'
* maint: checkout: don't rfc2047-encode oneline on detached HEAD filter-branch: Documentation fix.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user