-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Suggestion: Support Wordpad.exe as an editor choice #2684
Comments
We support notepad, that operates in black on white, vim and nano can probably configured to not output any colour as well (that would be white on black, unless you changed your terminal colours around). Back to your wordpad request. I know wordpad can be used to edit textfiles (even though it's a colossal pain in the butt for that), but does it handle LF line endings? Does it's process exit when you close the document (and only then)? |
Wordpad.exe (on Windows 10) seems to handle LF files fine and return at the proper moment. The issue with the "Test custom editor" button seems to be |
So it does not start? |
It does start a wordpad.exe process, but doesn't show a window. The proccess seems to wait for user interaction with no way for the user to interact with it. |
But with |
I'll run some tests. I can definitely say it doesn't get stuck if I write a small batch wrapper |
Is it possible that a prompt is making it stuck, a prompt that is only "shown" if in |
Ok, I've done some test, Custom editors that work with
Custom editors that require
I guess we could pass |
That's a splendid idea! @omatai how about contributing this suggested change together with support for Wordpad.exe? To get started:
|
I have zero experience with git, and zero desire to gain any. I'm only here because other products I want force me to use git. I have enough trouble building those products and integrating them, let alone get involved in maintaining products I don't actually want. I only logged this comment because the first product I didn't want went on to persuade me to download a further product I didn't want, and failed to let me use the product I already had (i.e. Wordpad) It all feels like the equivalent of being urged to invest in a mechanical excavator when you already have a shovel, and you are only wanting to dig a hole to plant a tree. I'm sure there are tasks out there that warrant a mechanical excavator, but if you look around the world, you'll notice that most people do not perform those tasks, and most people only ever use shovels. I think a request to support Wordpad.exe (and/or Notepad.exe, but that really sucks as an editor) is reasonable, so I made the request. But I've pushed past all of this an have no further interest in any of it, sorry. |
testing notepad.exe during install causes the installer to hang unrecoverably |
We're currently assuming that directly called editors ignore our request to hide their initial window, but some editors honor that request. This causes the installer to get stuck waiting for user input in a hidden window. This fixes git-for-windows/git#2684. Signed-off-by: Matthias Aßhauer <[email protected]>
Unless your |
just as soon as the installer starts responding again : ) |
OK: this is ridiculous. There are two editors shipped with windows that don't require installation: notepad.exe and wordpad.exe. FFS make at least one of them work!!! This is Git for WINDOWS. Talk of wrapping notepad.exe as /usr/bin/notepad is something from the Linux/Unix world. You may as well be talking Greek. Thanks to a burglary, I am once again reluctantly installing git to access other software. I have tried to install Git For Windows, but will once again give up because there are no editors available that make any kind of sense to me. I'm already downloading git (that I don't actually want) and GfW makes me needlessly download more crap I don't want. Why? Seriously: why? I don't think you appreciate quite how much of a barrier to uptake of GfW you have created, and to what extent it represents shooting yourselves in the foot. Make an easy-to-use product that people like, and you'll get people helping you. Create barriers at the very start, and you'll struggle. You've chosen the latter. Strong advice: reopen the issue and fix it. |
Yes, something here is ridiculous. But frankly, that something is you.
Well one of them isn't really a text editor, but more of a word processor.
Notepad does work. Via the provided wrapper script. I've also created a similar wrapper script for wordpad and created another PR that adds both None of those where exactly large changes and this is an open source project. One of the big principles of open source is: If it bothers you, fix it; if you don't care enough to fix it, don't expect others to. You could and should have fixed this yourself.
First and foremost this is Git for Windows. And Git is a tool with strong roots in the Unix world. This is like studying greek philosophy and expecting not to see a single greek word.
I'm sorry to hear about that. I hope you lost no important data. Hardware can be replaced, software reinstalled, but losing weeks of work or family photos just sucks.
That's hardly our fault.
Both
With all that I've said above this reads like a long-winded way of saying "I can't figure out how to exit vim.", no, even worse "I can't figure out how to exit nano". (It shows you how, right on the screen). Creating barriers? We've brought Git to Windows without the need to emulate a full Unix system the whole time. Feel free to use Cygwin Git or WSL Git or even Git in a Linux VM if that's easier for you. But I think Git for Windows has significantly lowered the barrier of entry to use Git on Windows. So maybe, just stop smack talking over a decade of hard work unless you're willing to contribute significant improvements or create a better alternative.
What I'm seeing from you is all talk and no action. Strong advice: Stop demanding others fix your problems for free. Get your act together and solve some of them yourself. We would have been happy to help you help yourself. |
@omatai Please watch your language. Not only will offending the very people who you ask to implement what you desire most likely have a different outcome than what you think (and for good reason: would you want to do something for somebody who just insulted you?), it even more importantly violates our code of conduct. Please be sure to review it before continuing this conversation: https://github.com/git-for-windows/git/blob/main/CODE_OF_CONDUCT.md |
I have a few suggestions for where y'all might opt to shove that CoC but I'm going to keep them to myself. If git is born of a culture of freedom then let people use Windows-specific line endings. Their whitespace, their choice? |
Feel free to implement that. Most people have better stuff to do. |
Setup
defaults?
Editor was the first option I tried to change. **Answering no further questions - just wanted to execute 1 single git command so I could move forward with a build process that had already taken a ridiculous length of time. No time left to fill in forms... **
to the issue you're seeing?
** insert your response here **
Details
** insert your response here **
Minimal, Complete, and Verifiable example
this will help us understand the issue.
** insert here **
** insert here **
URL to that repository to help us with testing?
** insert URL here **
The text was updated successfully, but these errors were encountered: