diff options
author | Jesse Duffield Duffield <jesseduffieldduffield@Jesses-MacBook-Pro-3.local> | 2019-02-24 17:59:47 +1100 |
---|---|---|
committer | Jesse Duffield Duffield <jesseduffieldduffield@Jesses-MacBook-Pro-3.local> | 2019-02-24 18:34:18 +1100 |
commit | 23c51ba70841ef779e7fcef9fd2a5c717835e168 (patch) | |
tree | abe58ff1ae969ac414b268a2328b36b926fbc94e /pkg/git | |
parent | 19a3ac603decd6a7647099d3024ad29f082f641e (diff) |
cleanup
Diffstat (limited to 'pkg/git')
-rw-r--r-- | pkg/git/commit_list_builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/git/commit_list_builder.go b/pkg/git/commit_list_builder.go index 6ae6efeee..08a10fafc 100644 --- a/pkg/git/commit_list_builder.go +++ b/pkg/git/commit_list_builder.go @@ -123,7 +123,7 @@ func (c *CommitListBuilder) getRebasingCommits() ([]*commands.Commit, error) { return commits, nil } splitLine := strings.Split(line, " ") - commits = append([]*commands.Commit{&commands.Commit{ + commits = append([]*commands.Commit{{ Sha: splitLine[1][0:7], Name: strings.Join(splitLine[2:], " "), Status: "rebasing", |