Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luxas committed Aug 30, 2019
1 parent 5282300 commit 840356f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/git/gitdir/gitdir.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ func (d *GitDirectory) commitLoop() error {
continue
}

files, err := d.checkout.ChangedFiles(context.Background(), d.branch)
files, err := d.checkout.ChangedFiles(context.Background(), d.lastCommit)
if err != nil {
log.Errorf("couldn't get changed files: %v")
log.Errorf("couldn't get changed files: %v", err)
continue
}

Expand Down

0 comments on commit 840356f

Please sign in to comment.