-
Notifications
You must be signed in to change notification settings - Fork 57
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
Treat git patches as text #103
Comments
Just like in #102, you can copy git patches, it's just the target software that doesn't want to paste them 🙂 I should add a workaround for the type, but saying that you can't copy is just wrong. |
Oh... pardon my lack of understanding. So the clilpboard actually registers those unpasteable text, and it's the input text that rejects anything beside text/plain? I thought it's about wl-copy rejecting anything that's not text/plain. |
Yes, everything works except for pasting into the target application (because it doesn't think it can paste git patches, even though it can, because git patches are just text). Copying works, the clipboard works, pasting works — but the target app doesn't accept it. You can always paste from the clipboard or inspect the actual state of clipboard using
I've previously shown you how to inspect the clipboard with it in #102 (comment). See the man page for some more things wl-clipboard can do for you. Does that make sense / make it clearer what's going on? |
To be quite honest with you, I didn't inspect the clipboard when you showed me at #102. I just placed That's a misundertanding on my end, and yes, it makes sense now. |
Same issue as #102, but for git patch files.
Steps to reproduce:
git format-patch
.new.patch
.cat new.patch | wl-copy
Just like #102, adding
--type text/plain
solves the issue, but it's a nuisance.The text was updated successfully, but these errors were encountered: