Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/t3404-grammo-fix' into maint
[gitweb.git]
/
builtin
/
reset.c
diff --git
a/builtin/reset.c
b/builtin/reset.c
index 092c3a5399c731e83058233f8e3e459be493e140..e8c57670304554ec0c91cca819e78b04af59b9c6 100644
(file)
--- a/
builtin/reset.c
+++ b/
builtin/reset.c
@@
-103,7
+103,7
@@
static void print_new_head_line(struct commit *commit)
if (body) {
const char *eol;
size_t len;
- body
+= 2
;
+ body
= skip_blank_lines(body + 2)
;
eol = strchr(body, '\n');
len = eol ? eol - body : strlen(body);
printf(" %.*s\n", (int) len, body);