Make standard options customizable.

* magit.el (magit-git-standard-options): Here, by using defcustom.
This commit is contained in:
Marius Vollmer 2009-03-01 21:35:44 +02:00
parent 3857ce227a
commit a2d08222c6
2 changed files with 9 additions and 5 deletions

7
NEWS
View file

@ -34,17 +34,18 @@ Changes in magit 0.7:
* Magit understands a bit of git-svn: the status buffer shows unpushed
and unpulled commits, 'N r' runs git svn rebase, and 'N c' runs git
svn commit.
svn dcommit.
* Magit now also works when the direcory is accessed via tramp.
* M-x magit-status can also create new repositories when given a
directory that is not a Git repository.
* Magit works better with oldish Gits that don't understand "--graph"
* Magit works better with oldish Gits that don't understand "--graph",
for example.
* The name of the Git program can be customized.
* The name of the Git program and common options for it can be
customized.
Changes in magit 0.6:

View file

@ -66,6 +66,11 @@
:group 'magit
:type 'string)
(defcustom magit-git-standard-options '("--no-pager")
"Standard options when running Git."
:group 'magit
:type '(repeat string))
(defcustom magit-save-some-buffers t
"Non-nil means that \\[magit-status] will save modified buffers before running.
Setting this to t will ask which buffers to save, setting it to 'dontask will
@ -186,8 +191,6 @@ Many Magit faces inherit from this one by default."
"Face for branch head labels shown in log buffer."
:group 'magit)
(defconst magit-git-standard-options '("--no-pager"))
;;; Macros
(defmacro magit-with-refresh (&rest body)