Skip to content

Commit

Permalink
magit-log-remove-graph-args: Discourage customization
Browse files Browse the repository at this point in the history
Re #5019.
  • Loading branch information
tarsius committed Oct 6, 2023
1 parent a0ef7be commit 6e394b8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lisp/magit-log.el
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@
:type 'hook)

(defcustom magit-log-remove-graph-args '("--follow" "--grep" "-G" "-S" "-L")
"The log arguments that cause the `--graph' argument to be dropped."
"The log arguments that cause the `--graph' argument to be dropped.
The default value lists the arguments that are incompatible with
`--graph' and therefore must be dropped when that is used. You
can add additional arguments that are available in `magit-log',
but I recommend that you don't do that. Nowadays I would define
this as a constant, but I am preserving it as an option, in case
someone actually customized it."
:package-version '(magit . "2.3.0")
:group 'magit-log
:type '(repeat (string :tag "Argument"))
Expand Down

0 comments on commit 6e394b8

Please sign in to comment.