magit-get-all is wrapper for git config --get-all
This commit is contained in:
parent
dddfe3035e
commit
f65dfce86e
1 changed files with 3 additions and 0 deletions
3
magit.el
3
magit.el
|
@ -297,6 +297,9 @@ Many Magit faces inherit from this one by default."
|
|||
(defun magit-get (&rest keys)
|
||||
(magit-git-string "config" (magit-concat-with-delim "." keys)))
|
||||
|
||||
(defun magit-get-all (&rest keys)
|
||||
(magit-git-lines "config" "--get-all" (magit-concat-with-delim "." keys)))
|
||||
|
||||
(defun magit-set (val &rest keys)
|
||||
(if val
|
||||
(magit-git-string "config" (magit-concat-with-delim "." keys) val)
|
||||
|
|
Loading…
Reference in a new issue