Show loading icon for large repositories
On loading large repositories, or doing compute costly operations in general, we should display a loading icon of some sort in the main view (where commit list is shown). Otherwise, it seems like the UI has frozen and it is confusing.
Steps to reproduce
- Clone a large repository, such as:
git clone git@github.com:NixOS/nixpkgs.git
- Open it in gitg
Expected result: A loading icon to indicate that gitg hasn't stopped, it is just loading the repo
Actual result: The commit history pane and files/diff pane are both completely empty, confusing the user.
While we are on this, maybe we can list all costly operations and do the same for those?
Edited by Sai Vineet