Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
cleanup
Dane Schneiderba1febc84ec2
diff --git a/app/cli/lib/apply.go b/app/cli/lib/apply.goindex e37366f4..3e59df33 100644--- a/app/cli/lib/apply.go+++ b/app/cli/lib/apply.go@@ -241,8 +241,8 @@ func MustApplyPlan(planId, branch string, autoConfirm bool) {// Commit the changesmsg := currentPlanState.PendingChangesSummaryForApply()- log.Println("Committing changes with message:")- log.Println(msg)+ // log.Println("Committing changes with message:")+ // log.Println(msg)// spew.Dump(currentPlanState)diff --git a/app/shared/plan_result_pending_summary.go b/app/shared/plan_result_pending_summary.goindex d39b6ed0..8d6c2180 100644--- a/app/shared/plan_result_pending_summary.go+++ b/app/shared/plan_result_pending_summary.go@@ -138,6 +138,13 @@ func (state *CurrentPlanState) pendingChangesSummary(forApply bool) string {descMsgs = append(descMsgs, fmt.Sprintf(" ✏️ %s", desc.CommitMsg))}+ msgs = append(msgs, descMsgs...)++ // for an apply commit message, we don't need to list file updates+ if forApply {+ continue+ }+pendingNewFilesSet := make(map[string]bool)pendingReplacementPathsSet := make(map[string]bool)pendingReplacementsByPath := make(map[string][]*Replacement)@@ -158,13 +165,6 @@ func (state *CurrentPlanState) pendingChangesSummary(forApply bool) string {continue}- msgs = append(msgs, descMsgs...)-- // for an apply commit message, we don't need to list file updates- if forApply {- continue- }-var pendingNewFiles []stringvar pendingReplacementPaths []string