# Show progress while cloning repositories \(\#63239\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/81da416e3f7fed5103dcb40394f430e4f3572c77)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 81da416e3f7fed5103dcb40394f430e4f3572c77

Requested commit: 81da416e3f7fed5103dcb40394f430e4f3572c77

Commit: 81da416e3f7fed5103dcb40394f430e4f3572c77

Tree: 7a5c9252214560791ad7a4af6daff180701c2eb1

Author: itsfuad

Committer: GitHub

## Message

```
Show progress while cloning repositories (#63239)

## Summary

- Reuse the existing Zed clone activity indicator, which previously
showed only a static `Cloning <URL>` message.
- Add filesystem job updates so the existing indicator can change while
a job is running.
- Stream exact `git clone --progress` messages into that indicator
without maintaining a phase allowlist.
- Preserve the final Git stderr message when cloning fails.


https://github.com/user-attachments/assets/a9b8cbfd-b87f-4d83-a24b-992eb1c4de1f

## Testing

- `cargo test -p fs git_clone_progress::tests -- --nocapture`
- `CCACHE_DISABLE=1 ./script/clippy -p fs -p activity_indicator`
- Manually cloned a repository and verified live Git progress in the
activity indicator.

Release Notes:

- Improved repository cloning by showing live Git progress in the
activity indicator.
```

## Parents

- [ab7afbff3942265ec913598b6d1d35027585685b](https://git.cafe/gitcafe/zed/commit/ab7afbff3942265ec913598b6d1d35027585685b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/81da416e3f7fed5103dcb40394f430e4f3572c77?format=markdown)
