summaryrefslogtreecommitdiffstats
path: root/git-difme.scm
diff options
context:
space:
mode:
Diffstat (limited to 'git-difme.scm')
-rw-r--r--git-difme.scm5
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)