Merge remote-tracking branch 'mbreit/quote-filename'

This commit is contained in:
Tom Willemse 2015-03-21 15:04:15 +01:00
commit c3f42d0635

View file

@ -107,7 +107,7 @@ Default to FILENAME."
(let* ((filename (buffer-file-name)) (let* ((filename (buffer-file-name))
(commit-msg (gac--commit-msg filename))) (commit-msg (gac--commit-msg filename)))
(shell-command (shell-command
(concat "git add " filename " && git commit -m '" commit-msg "'")))) (concat "git add '" filename "' && git commit -m '" commit-msg "'"))))
(defun gac-push () (defun gac-push ()
"Push commits to the current upstream. "Push commits to the current upstream.