Magit don't show diff when committing

This commit is contained in:
Evie Litherland-Smith 2023-11-15 09:50:48 +00:00
parent 422178a615
commit 89713e2bcd
2 changed files with 7 additions and 2 deletions

View file

@ -426,7 +426,9 @@
(project-find-dir "Find directory") (project-find-dir "Find directory")
(project-eshell "Eshell"))) (project-eshell "Eshell")))
(setq magit-clone-default-directory "~/Projects/") (setq magit-clone-default-directory "~/Projects/"
magit-commit-show-diff nil
magit-commit-diff-inhibit-same-window t)
(use-package magit (use-package magit
:ensure t) :ensure t)

View file

@ -502,8 +502,11 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(project-eshell "Eshell"))) (project-eshell "Eshell")))
#+END_SRC #+END_SRC
** Version control ** Version control
*** Magit
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq magit-clone-default-directory "~/Projects/") (setq magit-clone-default-directory "~/Projects/"
magit-commit-show-diff nil
magit-commit-diff-inhibit-same-window t)
(use-package magit (use-package magit
:ensure t) :ensure t)
#+end_src #+end_src