dolthub / dolthub/dolt

dolt diff does not display added and corresponding deleted rows next to each other

Open
#7,808 4 comments 0 reactions 0 assignees View on GitHub
diff enhancement version control
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

this affects how we display diff rows on dolthub

repro:
- clone this [db](https://www.dolthub.com/repositories/liuliu/test1), checkout a new branch.
- change `pk2` in 2 rows:
```
UPDATE `change_in_pks` SET `pk2` = "4" WHERE `pk1` = "2" AND `pk2` = "3";
UPDATE `change_in_pks` SET `pk2` = "5" WHERE `pk1` = "2" AND `pk2` = "6";
```
- run dolt diff
![Screenshot 2024-05-01 at 2 32 52 PM](https://github.com/dolthub/dolt/assets/6688812/66dcab6e-23f6-4dab-8cfa-ea25bd86ff9a)

related dolthub pull: https://www.dolthub.com/repositories/liuliu/test1/pulls/11/compare

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.