diff options
| author | Andreas Schwab | 2014-06-29 22:48:55 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2014-06-29 22:48:55 +0200 |
| commit | becc9e3c3f8b6df40f159eb01a89d5c7374fa23d (patch) | |
| tree | 10c636a9cffd7cb920d3c1afcc249056f859c4d3 | |
| parent | a27e8c78c03a911db68885f0beffb69250fc75fe (diff) | |
| download | emacs-becc9e3c3f8b6df40f159eb01a89d5c7374fa23d.tar.gz emacs-becc9e3c3f8b6df40f159eb01a89d5c7374fa23d.zip | |
* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
pass "-a".
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc/vc-git.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a1f91b0e3d..b0648996b13 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-06-29 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * vc/vc-git.el (vc-git-checkin): When operating on the whole tree | ||
| 4 | pass "-a". | ||
| 5 | |||
| 1 | 2014-06-29 Glenn Morris <rgm@gnu.org> | 6 | 2014-06-29 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * cus-edit.el (help): | 8 | * cus-edit.el (help): |
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index c7cae8359bf..9c8ab3ba393 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -674,7 +674,7 @@ It is based on `log-edit-mode', and has Git-specific extensions.") | |||
| 674 | (cl-flet ((boolean-arg-fn | 674 | (cl-flet ((boolean-arg-fn |
| 675 | (argument) | 675 | (argument) |
| 676 | (lambda (value) (when (equal value "yes") (list argument))))) | 676 | (lambda (value) (when (equal value "yes") (list argument))))) |
| 677 | ;; When operating on the whole tree, better pass nil than ".", since "." | 677 | ;; When operating on the whole tree, better pass "-a" than ".", since "." |
| 678 | ;; fails when we're committing a merge. | 678 | ;; fails when we're committing a merge. |
| 679 | (apply 'vc-git-command nil 0 (if only files) | 679 | (apply 'vc-git-command nil 0 (if only files) |
| 680 | (nconc (list "commit" "-m") | 680 | (nconc (list "commit" "-m") |
| @@ -684,7 +684,7 @@ It is based on `log-edit-mode', and has Git-specific extensions.") | |||
| 684 | ("Amend" . ,(boolean-arg-fn "--amend")) | 684 | ("Amend" . ,(boolean-arg-fn "--amend")) |
| 685 | ("Sign-Off" . ,(boolean-arg-fn "--signoff"))) | 685 | ("Sign-Off" . ,(boolean-arg-fn "--signoff"))) |
| 686 | comment) | 686 | comment) |
| 687 | (if only (list "--only" "--"))))))) | 687 | (if only (list "--only" "--") '("-a"))))))) |
| 688 | 688 | ||
| 689 | (defun vc-git-find-revision (file rev buffer) | 689 | (defun vc-git-find-revision (file rev buffer) |
| 690 | (let* (process-file-side-effects | 690 | (let* (process-file-side-effects |