$ git --version --build-options
git version 2.24.0.windows.2
cpu: x86_64
built from commit: 02af2cc5bfc37d4500e8a09333269e57f442198a
sizeof-long: 4
sizeof-size_t: 8
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.18362.10024]
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: VisualStudioCode
Custom Editor Path:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: ConHost
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
Enable Builtin Interactive Add: Disabled
N/A
N/A
Daily update prompt

Dialog design/layout is very simple and does not provide any branding. It could be mistaken for a generic prompt or worst a spam/virus/adware dialog.
The dialog also lacks useful information such as the newer version number and existing version number, as well as a link to the release notes to find what has changed.
Clicking "Yes" also hides the dialog and does not provide any information. It feels like nothing happened when in fact it is downloading in the background.
Wireframe mock up of what it could look like

I suggest the dialog should show app logo, newer version number, link to release notes, new version release date, currently installed version number (not in wireframe), a progress bar when downloading and allow download to be cancelled
N/A
N/A
Ok. This requires significant changes.
By that I mean changing porting the update script to C and rewriting large parts (Completely new WinAPI GUI, keep existing CLI, download can't be through curl any more, ...) and some change so we can actually retrieve the release notes of the released version without the changes for the next version,...
These changes would probably be up to you. How good is your C?
Maybe less of a big change is using the the task dialog in Windows.
See https://docs.microsoft.com/en-us/windows/win32/controls/task-dialogs-overview
It has a couple of customization capabilities and may provide enough to keep this code change small.
I do not know, maybe Tcl or other scripting languages used by Git may even have an interface for it, if you search.
Tcl probably won't work (we switched to C for git--askyesno because of issues with tcl), shell probably doesn't have an interface for this and perl doesn't have much of an interface either. But this could potentially work.
The taskdialog can contain Hyperlinks (release notes), can show yes/no/cancel buttons, a progress bar, custom icons, so most things we'd need.
Give me a couple hours to get back from work and I'll whip up a quick prototype.


I'm slowly getting somewhere. Please ignore the German buttons, that's just windows chosing the system locale for these.
The text alignment is wonky because that's one long string that needs to be indented with spaces.
The changes to the current shell script are probably less than I originally thought, too.
I am pretty sure it supports some type of line breaks, e.g. \n or
.
On Thu, Nov 7, 2019, 3:32 PM Matthias Aßhauer notifications@github.com
wrote:
The changes to the current shell script are probably less than I
originally thought, too.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/git-for-windows/git/issues/2395?email_source=notifications&email_token=ABZH5SBVNYVWN7WIZ3WZ2B3QSR3M7A5CNFSM4JKFFY2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDNW2JA#issuecomment-551251236,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZH5SGKP243U2MH4LO4C73QSR3M7ANCNFSM4JKFFY2A
.
Yeah, \n works great. There's one in the Screenshots above, just after the Hyperlink.
It's the alignment within a line (i.e getting the date and version number lined up) that works on spaces alone.
TBH I am curious why these dialogs show in the first place. I would have expected a Toast to be shown in the Action Center.
To answer the question why the toast didn't work, could you @longzheng run
type wintoast.exe
wintoast.exe --appname "Git for Windows" --text "Download and install?" --expirems 15000
echo $?
and post the results?


I've got the alignment fixed an the hyperlink is working. The remaining steps before the pr are (in no specific order):
--yes or user already clicked yes in toast)Makefile and PKGBUILD for git-extra /usr/src/build-extra/git-extraTo answer the question why the toast didn't work
@rimrul to answer this question, I opened https://github.com/git-for-windows/build-extra/pull/268. Could you kindly have a look?
To answer the question why the toast didn't work, could you @longzheng run
type wintoast.exe wintoast.exe --appname "Git for Windows" --text "Download and install?" --expirems 15000 echo $?and post the results?
This has been left unanswered for over a year. I vote for closing this ticket as stale. @rimrul are you okay with that?
This has been left unanswered for over a year. I vote for closing this ticket as stale.
That was really only a tangent. You found the root cause and fixed the missing toasts, but the original ticket is about the lack of a progress or activity indicator during download.
From my point of view this is only stale because I'm low on time. The issue still exists and we aren't really waiting for any user feedback.
Okay, then let's leave it open.