mirror of
https://github.com/openai/codex.git
synced 2026-11-03 16:23:51 +00:00
fix(tui): handle hidden app git directives (#21946)
This commit is contained in:
1 parent
95d8669ab2
commit
e16b4e46d4
8 files changed
+300
-31
No files matched your search
@@ -319,6 +319,14 @@ impl App {
|
||||
AppEvent::AppendMessageHistoryEntry { thread_id, text } => {
|
||||
self.append_message_history_entry(thread_id, text);
|
||||
}
|
||||
AppEvent::SyncThreadGitBranch { thread_id, branch } => {
|
||||
if let Err(err) = app_server
|
||||
.thread_metadata_update_branch(thread_id, branch)
|
||||
.await
|
||||
{
|
||||
tracing::warn!("failed to sync thread git branch from directive: {err}");
|
||||
}
|
||||
}
|
||||
AppEvent::LookupMessageHistoryEntry {
|
||||
thread_id,
|
||||
offset,
|
||||
|
||||
Reference in new issue
Block a user