Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
becc9e3c
Commit
becc9e3c
authored
Jun 29, 2014
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
pass "-a".
parent
a27e8c78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc/vc-git.el
lisp/vc/vc-git.el
+2
-2
No files found.
lisp/ChangeLog
View file @
becc9e3c
2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
pass "-a".
2014-06-29 Glenn Morris <rgm@gnu.org>
* cus-edit.el (help):
...
...
lisp/vc/vc-git.el
View file @
becc9e3c
...
...
@@ -674,7 +674,7 @@ It is based on `log-edit-mode', and has Git-specific extensions.")
(cl-flet ((boolean-arg-fn
(argument)
(lambda (value) (when (equal value "yes") (list argument)))))
;; When operating on the whole tree, better pass
nil
than ".", since "."
;; When operating on the whole tree, better pass
"-a"
than ".", since "."
;; fails when we're committing a merge.
(apply 'vc-git-command nil 0 (if only files)
(nconc (list "commit" "-m")
...
...
@@ -684,7 +684,7 @@ It is based on `log-edit-mode', and has Git-specific extensions.")
("Amend" . ,(boolean-arg-fn "--amend"))
("Sign-Off" . ,(boolean-arg-fn "--signoff")))
comment)
(if only (list "--only" "--")))))))
(if only (list "--only" "--")
'("-a")
))))))
(defun vc-git-find-revision (file rev buffer)
(let* (process-file-side-effects
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment