I have been tweaking my config file (
init.el). This file is inside a
.emacs.d directory which is under version control by Git. I also use Magit a lot.
After editing my config, I was going to stage, commit, and push the changes. However, I have been surprised by Magit indicating changes on
.emacs.d/transient/history.el. I do not understand how/why this file has been written the way it was.
For instance, this is what
git diff inside the Magit interface is indicating about this file:
1 file changed, 3 insertions(+), 4 deletions(-) .emacs.d/transient/history.el | 7 +++---- modified .emacs.d/transient/history.el @@ -17,10 +17,9 @@ (magit-log:--grep " 79504ca") (magit-pull nil ("--rebase")) - (magit-push - ("--force-with-lease") - nil - ("--force")) + (magit-push nil + ("--force-with-lease") + ("--force")) (magit-rebase ("--autostash") nil)
Apparently, the change is a transposition of the
nil expression with
("--force-with-lease"). Why is this happening? What could have triggered this change? What is the relevance in the order?