Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIT_ASK_YESNO/GIT_ASKPASS patches from Git for Windows #5

Closed
wants to merge 4 commits into from

Conversation

dscho
Copy link
Contributor

@dscho dscho commented Oct 14, 2016

As promised, the next set of patches from Git for Windows' fork. These have been sitting there since 2010.

FWIW there is another patch we carry since 2010 and it seems that it still applies cleanly, but I am not at all sure whether it is correct. @patthoyts would you mind having a look at git-for-windows/git@87d88e8? It looks as if it was well-intentioned, somehow working around expected worktree settings that are, in fact, not always set. But I think that this is no longer the case. Could you tell me whether this assessment is correct?

@dscho
Copy link
Contributor Author

dscho commented Nov 29, 2016

@patthoyts any objections?

@dscho
Copy link
Contributor Author

dscho commented Jan 17, 2017

@patthoyts do you see problems with this PR?

@dscho
Copy link
Contributor Author

dscho commented Feb 7, 2017

@patthoyts any news?

@dscho
Copy link
Contributor Author

dscho commented Apr 25, 2017

@patthoyts it would be nice to have some indication about the situation of Git GUI and how to contribute patches to it.

@dscho
Copy link
Contributor Author

dscho commented Jun 14, 2017

@patthoyts hi! Could you please have a look and either merge or tell me what needs to be improved?

@dscho
Copy link
Contributor Author

dscho commented Aug 21, 2017

@patthoyts ping?

1 similar comment
@dscho
Copy link
Contributor Author

dscho commented Sep 6, 2017

@patthoyts ping?

hvoigt and others added 4 commits September 19, 2019 13:39
Make use of the new environment variable GIT_ASK_YESNO to support the
recently implemented fallback in case unlink, rename or rmdir fail for
files in use on Windows. The added dialog will present a yes/no question
to the the user which will currently be used by the windows compat layer
to let the user retry a failed file operation.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
"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>
For additional GUI goodness.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho
Copy link
Contributor Author

dscho commented Jan 9, 2022

my-give-up

@dscho dscho closed this Jan 9, 2022
@dscho dscho deleted the git-gui-askpass branch January 9, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants