From: ĐOÀN Trần Công Danh
Commit 949af0684 ("branch: use ref-filter printing APIs", 2017-01-10)
make `git branch -v` stops trimming end-whitespace in subject,
and it stops treating next all-whitespace-line as an empty line.
Quote from git mailing-list:
> Here is a recipe
On 05/22/2017 09:19 AM, Junio C Hamano wrote:
> If you look at how `git branch -v` before that problematic change
> removed the extra CR, you would notice that pretty_print_commit()
> was used for that, which eventually called format_subject() with
> "one\r\n\r\nline3...", got one line "one\r\n"
erminal.
Reported-by: Animi Vulpis <animi.vul...@gmail.com>
Helped-by: Johannes Sixt <j...@kbdg.org>
Signed-off-by: DOAN Tran Cong Danh <congdan...@gmail.com>
---
ref-filter.c | 19 +++
t/t3203-branch-output.sh | 3 ++-
2 files changed, 17 insertions
erminal.
Reported-by: Animi Vulpis <animi.vul...@gmail.com>
Helped-by: Johannes Sixt <j...@kbdg.org>
Signed-off-by: DOAN Tran Cong Danh <congdan...@gmail.com>
---
ref-filter.c | 19 +++
t/t3203-branch-output.sh | 3 ++-
2 files changed, 17 insertions
From: ĐOÀN Trần Công Danh
Commit 949af0684 ("branch: use ref-filter printing APIs", 2017-01-10)
make `git branch -v` stops trimming end-whitespace in subject,
and it stops treating next all-whitespace-line as an empty line.
Quote from git mailing-list:
> Here is a recipe
5 matches
Mail list logo