diff options
author | rsiddharth <s@ricketyspace.net> | 2016-07-18 23:16:14 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2016-07-18 23:16:14 +0000 |
commit | 98fa30d745641e6a9775d9a53ecaa21c444a9f03 (patch) | |
tree | 704efed7c7ead61ed9f19e02c7b8d0fb3b2f7ce8 | |
parent | 28e0cc01bcd6e32c3099d76339b49f60b62afd2f (diff) |
cosmetic changes to `difme` function.
* git-difme.scm (difme): change local variable name in proces function.
-rw-r--r-- | git-difme.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-difme.scm b/git-difme.scm index 4623ea8..fbe9dba 100644 --- a/git-difme.scm +++ b/git-difme.scm @@ -146,10 +146,10 @@ also does `git push` to the repo' default upstream remote." (let ((msg (string-append msg " already staged file(s)."))) (difme-commit repo-path msg))) (define (process file-info) - (let* ((type (car file-info)) + (let* ((mod-type (car file-info)) (file-path (cdr file-info)) - (msg (string-append msg " [" type "]."))) (if (string-match stage-regex type) + (msg (string-append msg " [" mod-type "]."))) (difme-stage-commit repo-path file-path msg)))) ;; first commit already staged files. (commit-staged) |