dolthub / dolthub/dolt

Unify DOLT_DIFF CLI and SQL table function logic

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

Description

The DOLT_DIFF implementation currently duplicates core behavior between the CLI (`dolt/go/cmd/dolt/commands/diff.go`) and the SQL table function (`dolt/go/libraries/doltcore/sqle/dtablefunctions/dolt_diff.go`).

We should extract shared helpers that parse and normalize diff options. Consolidation will reduce maintenance overhead, and prevent subtle inconsistencies in flags and error handling.

For further context visit dolthub/dolt#9790.

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.