sub _has_changes {
my ($self) = @_;
my $path = $self->storage_path;
- my $cmd = qq{cd $path && git diff --name-only --cached};
+ my $cmd = qq{cd $path && git status --porcelain};
CORE::open my $handle, '-|', $cmd
or die "Unable to find changes in ($cmd): $!\n";
my @changes = <$handle>;