feat(git): add ff-only merge and allow a merged worktree without merge commit
This commit is contained in:
@@ -36,7 +36,7 @@ public sealed class WorktreeRepository
|
||||
.ExecuteUpdateAsync(s => s.SetProperty(w => w.State, state), ct);
|
||||
}
|
||||
|
||||
public async Task SetMergedAsync(string taskId, string mergeCommit, CancellationToken ct = default)
|
||||
public async Task SetMergedAsync(string taskId, string? mergeCommit, CancellationToken ct = default)
|
||||
{
|
||||
await _context.Worktrees
|
||||
.Where(w => w.TaskId == taskId)
|
||||
|
||||
Reference in New Issue
Block a user