Revert "Increase askpass timeout for git operations (#42946)" (#44578)

This reverts commit a74aac88c9.

cc @11happy, we need to do a bit more than just running `git hook
pre-push` before pushing, as described
[here](https://github.com/zed-industries/zed/pull/42946#issuecomment-3550570438).
Right now this is also running the pre-push hook twice.

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-12-10 18:07:01 -05:00
committed by GitHub
parent 9e628505f3
commit d21628c349
3 changed files with 1 additions and 6 deletions
-2
View File
@@ -4692,11 +4692,9 @@ impl Repository {
});
let this = cx.weak_entity();
let rx = self.run_hook(RunHook::PrePush, cx);
self.send_job(
Some(format!("git push {} {} {}", args, remote, branch).into()),
move |git_repo, mut cx| async move {
rx.await??;
match git_repo {
RepositoryState::Local(LocalRepositoryState {
backend,