Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'lf/recv-sideband-cleanup'
[gitweb.git]
/
builtin
/
reset.c
diff --git
a/builtin/reset.c
b/builtin/reset.c
index acd6278868b65981fd838b4ade327cdcaab51ccd..5c6206bc1c40dd1ac7081896232910be95d13977 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);