-
|
I don't use gnome but keep my git credentials in a .netrc.gpg in my home directory. I built the shell script git-credential-netrc from here: https://github.com/git/git/tree/master/contrib/credential/netrc (all this was following instructions found here: https://andrearichiardi.com/blog/posts/git-credential-netrc.html). The relevant section of my .gitconfig has this line: All this works perfectly well (e.g., I can push and pull without trouble) both from the command line (under exwm and i3) and from magit when emacs is run under i3. But bizzarely when I run it under EXWM (which I use daily, I just use i3 for debugging), trying to pull and push through magit prompts for my username and password and shows this error log: I found this issue from a while back #2309 that perhaps is related? but my knowledge here is too limited to figure this out myself after an hour or two of poking around (hence asking here for some assistance). Also post the output of: Magit v3.3.0-251-g3cfc8458, Git 2.36.0, Emacs 28.1.50, gnu/linux Before reporting a defect please try to reproduce it using an Emacs instance in which only Magit and its dependencies have been loaded. Other packages or your configuration should not be loaded. This makes it easier to determine whether the issue lays with Magit or something else. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Update: it is certainly not an issue with my exwm configuration. I just commented out that entire configuration and booted directly into vanilla emacs and I still get the same behavior, again, which I don't get under i3 or from the command line. |
Beta Was this translation helpful? Give feedback.
-
|
The problem likely isn't what is in your config file but what isn't. Check the value of |
Beta Was this translation helpful? Give feedback.
The problem likely isn't what is in your config file but what isn't.
Check the value of
(getenv "PATH")under both wms. Is the location ofnetrcpresent in one case but not the other? If so, then that's what you have to fix.