feat(git): fetch/push/ff primitives with auth env, no task trailer in company repos

This commit is contained in:
mika kuns
2026-10-01 11:51:28 +02:00
parent bc0aa28afb
commit 76f260a9a5
4 changed files with 63 additions and 6 deletions
@@ -199,8 +199,10 @@ public sealed class WorktreeManager
await _git.AddAllAsync(ctx.WorktreePath, ct);
var isCompany = list.WorkingDir is not null
&& await CompanyRepo.IsCompanyAsync(_git, list.WorkingDir, _cfg.CompanyRemotePattern, ct);
var message = CommitMessageBuilder.Build(
task.CommitType, list.Name, task.Title, task.Description, task.Id);
task.CommitType, list.Name, task.Title, task.Description, task.Id, includeTrailer: !isCompany);
await _git.CommitAsync(ctx.WorktreePath, message, ct);