Skip to content

Commit a111723

Browse files
authored
env: allow empty explanation (#191)
1 parent 530db63 commit a111723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repository/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func (r *Repository) commitWorktreeChanges(ctx context.Context, worktreePath, ex
327327
return err
328328
}
329329

330-
_, err = RunGitCommand(ctx, worktreePath, "commit", "--allow-empty", "-m", explanation)
330+
_, err = RunGitCommand(ctx, worktreePath, "commit", "--allow-empty", "--allow-empty-message", "-m", explanation)
331331
return err
332332
}
333333

0 commit comments

Comments
 (0)