Skip to content

Git - Provide task progress #62751

@liguori

Description

@liguori

Request
It could be a nice feature to show the git progress details in the GIT output console or since Visual Studio even though is 'Code' has the characteristic to being 'Visual', polish the user interface with some indicator.
In the following images there are some suggestions:
progress 1
progress2

Use case
It happen sometime that users have in their own repository some big amount files or maybe the connection slow down during the 'git push', users don't have any idea what is happening or what is the current operation state (it could take even plenty of minutes).
In the example I'have done, this is what is showed actually in VS Code:
nothappen
And this is what it can be read from the git executable output:
expected

Advantages
Users that have this kind of experience can think that the git integration (that is already amazing in VS Code) is not working very good because the operations appears 'blocked'. So they give up and jump on the CLI for the daily usage of git. With some nice improvements like I showed they wouldn't do it.

Technical inspection
I inspected the main source code file about the default GIT extension:
https://github.com/Microsoft/vscode/blob/master/extensions/git/src/git.ts
A nice implementation could be extract more information on the 'git commands output' parsing, ex. Operation 'N' of 'M' and 'Percentage', expose it and use on higher layer of Visual Studio Code.

Waiting for a your feedback.

Thank you.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygitGIT issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions