Skip to content

Commit

Permalink
Fixed dolt status output incorrectly displayed for staged files
Browse files Browse the repository at this point in the history
  • Loading branch information
VyasSathya committed Dec 11, 2020
1 parent 875e402 commit 3f93ab0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/cmd/dolt/commands/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ func printStagedDiffs(wr io.Writer, stagedTbls []diff.TableDelta, stagedDocs *di
}

iohelp.WriteLine(wr, color.GreenString(strings.Join(lines, "\n")))
return len(stagedTbls)+stagedDocs.Len()
}

return 0
Expand Down

0 comments on commit 3f93ab0

Please sign in to comment.