dolt icon indicating copy to clipboard operation
dolt copied to clipboard

Should be able to use "STAGED" as commits in `dolt_commit_diff_[tablename]`

Open tbantle22 opened this issue 1 month ago • 2 comments

I believe this used to work, but getting a diff between STAGED and WORKING using the dolt_commit_diff_[tablename] system table currently fails (dolt v1.39.3).

For example,

SELECT * FROM `dolt_commit_diff_tablename` WHERE `from_commit` = "STAGED" AND `to_commit` = "WORKING"

Returns the error

branch not found: STAGED

tbantle22 avatar Jun 07 '24 21:06 tbantle22