feat(git): fetch/push/ff primitives with auth env, no task trailer in company repos
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user