File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,14 @@ SELECT
60
60
`
61
61
62
62
type CommitAuthorSummary struct {
63
- AuthorName string `db:"author_name"`
64
- AuthorEmail string `db:"author_email"`
65
- Commits int `db:"commit_count"`
66
- Additions sql.NullInt64 `db:"additions"`
67
- Deletions sql.NullInt64 `db:"deletions"`
68
- DistinctFiles int `db:"distinct_files"`
69
- FirstCommit string `db:"first_commit"`
70
- LastCommit string `db:"last_commit"`
63
+ AuthorName string `db:"author_name"`
64
+ AuthorEmail sql. NullString `db:"author_email"`
65
+ Commits int `db:"commit_count"`
66
+ Additions sql.NullInt64 `db:"additions"`
67
+ Deletions sql.NullInt64 `db:"deletions"`
68
+ DistinctFiles int `db:"distinct_files"`
69
+ FirstCommit string `db:"first_commit"`
70
+ LastCommit string `db:"last_commit"`
71
71
}
72
72
73
73
const commitAuthorSummarySQL = `
@@ -188,6 +188,7 @@ func (t *TermUI) loadCommitSummary() tea.Msg {
188
188
}
189
189
190
190
var commitSummary CommitSummary
191
+
191
192
if err := t .db .QueryRowx (commitSummarySQL , sql .Named ("file_path" , pathPattern )).StructScan (& commitSummary ); err != nil {
192
193
return err
193
194
}
You can’t perform that action at this time.
0 commit comments