]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui--askyesno: allow overriding the window title
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 28 Aug 2025 08:58:49 +0000 (08:58 +0000)
committerJohannes Sixt <j6t@kdbg.org>
Thu, 28 Aug 2025 20:54:20 +0000 (22:54 +0200)
commit47b6aa869442aa41cdbd08349d273d72651fa230
treea87a60bb4d4dd3625d7ff2d399dc5ab2f09323f7
parentaeaabebc1a105fab4f64510a4f9ee02cba09ba90
git-gui--askyesno: allow overriding the window title

"Question?" is maybe not the most informative thing to ask. In the
absence of better information, it is the best we can do, of course.

However, Git for Windows' auto updater just learned the trick to use
git-gui--askyesno to ask the user whether to update now or not. And in
this scripted scenario, we can easily pass a command-line option to
change the window title.

So let's support that with the new `--title <title>` option.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
git-gui--askyesno