完成:aide/022 - 开始任务准备: 调整 aide 体系的 finish 清理、提交信息和 decide 界面
This commit is contained in:
@@ -620,11 +620,10 @@ class BranchManager:
|
||||
|
||||
# 8. 创建收尾提交
|
||||
self.git.add_all()
|
||||
short_hash = start_commit[:7] if start_commit else "unknown"
|
||||
if is_force_clean:
|
||||
commit_msg = f"{short_hash}的强制清理"
|
||||
commit_msg = f"任务中断,清理:{task_branch} - {branch_info.task_summary}"
|
||||
else:
|
||||
commit_msg = f"{short_hash}的任务收尾"
|
||||
commit_msg = f"完成:{task_branch} - {branch_info.task_summary}"
|
||||
self.git.commit(commit_msg)
|
||||
|
||||
return True, f"任务分支已合并到 {source_branch}"
|
||||
|
||||
Reference in New Issue
Block a user