We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 086980b commit c63a805Copy full SHA for c63a805
codex-rs/exec/src/lib.rs
@@ -210,17 +210,6 @@ pub async fn run_main(cli: Cli, codex_linux_sandbox_exe: Option<PathBuf>) -> any
210
}
211
212
213
- // If inside a git repo but with no commits, provide a clearer message.
214
- if !skip_git_repo_check
215
- && get_git_repo_root(&config.cwd.to_path_buf()).is_some()
216
- && !codex_core::git_info::git_repo_has_commits(&config.cwd).await
217
- {
218
- eprintln!(
219
- "This Git repository has no commits. Initialize it first:\n git add -A && git commit -m 'Initial commit'\nOr pass --skip-git-repo-check to bypass."
220
- );
221
- std::process::exit(1);
222
- }
223
-
224
let conversation_manager =
225
ConversationManager::new(AuthManager::shared(config.codex_home.clone()));
226
0 commit comments