git-difme

git do it for me - ricketyspace.net/git-difme
git clone git://git.ricketyspace.net/git-difme.git
Log | Files | Refs

commit 4517ceb56e30c7e208bb063dc23d77e7c621bf0e
parent b64bf97cde034e4a23fd11b7830ae919ecb6a1f9
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 10 Jul 2016 21:37:13 +0000

update `get-difme-repos` function.

* git-difme.scm (get-difme-repos): trim the strings of each of the
  repo-info list that is returned by `difme-repos` function.

Diffstat:
git-difme.scm | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/git-difme.scm b/git-difme.scm @@ -52,7 +52,10 @@ loads the configuration file and then evals the `difme-repos` function." (let ((path (get-config-path))) (load-config path) - (eval '(difme-repos) (interaction-environment)))) + (map (lambda (repo-info) + ;; trim each string repo-info. + (map string-trim-both repo-info)) + (eval '(difme-repos) (interaction-environment))))) ;;;; git interfaces (define (staged-files repo)