dolthub / dolthub/dolthub-issues

Multiline commits not fully supported

Open
#281 0 comments 0 reactions 1 assignee Claimed by @tbantle22 View on GitHub
bug
Dominant language
No language data
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug and expected behavior**
As per Git hosting platforms, multiline commits are treated as an essay: the first line is considered as a summary, and the rest of the description separated by a new line is considered as details, and are generaly hidden while displaying the commit log. However, on DoltHub, that is not the case as it seems to display the entire commit as is.

**To Reproduce (please include link if applicable)**
Steps to reproduce the behavior:
1. Using Dolt, create a multiline commit.
```bash
dolt commit -m "This is a
multiline
commit"
```
2. Push changes and open corresponding commit on DoltHub

**Screenshots**
Expected Behaviour:
![image](https://user-images.githubusercontent.com/42601474/184386155-0f8f4a20-1ce6-4e6c-922c-17eed17ccfaa.png)
![image](https://user-images.githubusercontent.com/42601474/184386182-832a4b3c-b5a5-4448-b98f-08aa006f64d5.png)
(from the Linux kernel, latest commit)
Actual behaviour:
![image](https://user-images.githubusercontent.com/42601474/184383926-beeb8843-0205-4a1a-a6e9-e088c279acb2.png)
(New lines not preserved. The image is redacted)

**Browser info:**
- Desktop
- OS/Device: Windows 11
- Browser: Vivaldi (Chromium)
- Version: 5.4 (104.0.5112.83)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.