diff options
author | rsiddharth <s@ricketyspace.net> | 2016-07-10 21:37:13 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2016-07-10 21:37:13 +0000 |
commit | 4517ceb56e30c7e208bb063dc23d77e7c621bf0e (patch) | |
tree | 11d678448cb2857e7d6a32215015ae445c2004f3 /git-difme.scm | |
parent | b64bf97cde034e4a23fd11b7830ae919ecb6a1f9 (diff) |
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 (limited to 'git-difme.scm')
-rw-r--r-- | git-difme.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-difme.scm b/git-difme.scm index f67dfe6..9226c14 100644 --- 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) |