mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-09 00:39:54 -06:00
updates dolt commit to properly display skip empty commit message
This commit is contained in:
@@ -110,8 +110,9 @@ teardown() {
|
||||
[ $original_head != $new_head ]
|
||||
|
||||
# When no changes are staged, --skip-empty skips creating the commit
|
||||
dolt commit --skip-empty -m "commit message"
|
||||
run dolt commit --skip-empty -m "commit message"
|
||||
[ $new_head = $(get_head_commit) ]
|
||||
[[ "$output" =~ "Skipping empty commit" ]] || false
|
||||
}
|
||||
|
||||
@test "commit: -f works correctly" {
|
||||
|
||||
Reference in New Issue
Block a user