Skip to content

Isolated carriage return character in commit message breaks git-graph log #880

@de-livery

Description

@de-livery

Describe the Bug
Carriage return (CR, 0xD) without a line feed character prevents git graph to show more log entries.
Git log shows ^M and lists anything normal after that.

Steps to Reproduce
Steps to reproduce the behaviour:

  1. Add a commit with a commit message containing a carriage return with no line feed after it.
  2. Git graph only shows commits on up to that commit ignoring all older ones.

Expected Behaviour
Ignore the carriage return character or render it like git log does.

Environment

  • Git Graph Extension Version: 1.30.0
  • Visual Studio Code Version: 1.100.1
  • Operating System: Windows 11

Screenshots (optional)

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions