From f65dfce86ef16ac04140fc4a477cbda65aae9db3 Mon Sep 17 00:00:00 2001 From: Alexey Voinov Date: Sun, 7 Mar 2010 16:04:48 +0300 Subject: [PATCH] magit-get-all is wrapper for git config --get-all --- magit.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/magit.el b/magit.el index c661b6e6..2b4bbf39 100644 --- a/magit.el +++ b/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)