Questions tagged [magit]
is an Emacs extension for the Git version control system.
738 questions
2 votes
1 answer
134 views
Magit broken with message: transient-setup: Symbol’s value as variable is void: $
I get this message after updating packages. How can I fix it? I load my file, then press C-g, and it shows Recent commits. After pressing any usual key, I get the message with the error, and magit ...
0 votes
1 answer
32 views
specify ad-hoc options for `git diff` in magit?
Sometimes I use the --color-words=. option with git diff to see character-level differences. I also may use --ws-highlight-error=all. The specifics of the options isn't crucial; what I want is to have ...
4 votes
1 answer
385 views
Why is Magit calling transient--set-layout?
I get a strange message in magit, today, after I reset Emacs, by deleting eln-cache, straight and elpa directories in .emacs.d It's strange, cause I run just use-package of Magit and not using ...
1 vote
1 answer
52 views
stash does not populate its message with branch name after updating magit
I had an old magit (from 3 years ago) on emacs and just updated recently...I just realized that when I did 'z' 'z' to stash, it's now showing this--> Stash message (default: On_:_): while in my old ...
4 votes
2 answers
218 views
Unable to commit using Magit
I am using magit version 4.3.0 on windows. Emacs version 29.3. When I try to commit changes using magit i get the message: 1 git.exe … "commit" "--" Aborting commit due to empty ...
0 votes
1 answer
41 views
In magit, how to achieve the effect of `git fetch origin master:master`?
In magit, I current always use b b to switch to master, and F to pull. Is there a way to run git fetch origin master:master before b b to avoid updating the working tree?
2 votes
1 answer
36 views
How to set magit-buffer-diff-args to '("--stat") before running magit diff range?
When using Magit to run diff range, I noticed that the header showing the number of lines changed in each file is missing. Upon investigation, I found that the value of magit-buffer-diff-args is '(&...
0 votes
1 answer
47 views
Show all logs references of a specific remote in Magit
I want the same result as magit-log-all (l a shortcut) but restricted to a single remote (origin in my case). Is there any way to do that ?