Lines 164-169
Link Here
|
164 |
|
164 |
|
165 |
(defun vc-git-register (file &optional rev comment) |
165 |
(defun vc-git-register (file &optional rev comment) |
166 |
"Register FILE into the git version-control system." |
166 |
"Register FILE into the git version-control system." |
|
|
167 |
(if comment (message "Note: your comment will be lost, cause git does not support comments for adding files.")) |
167 |
(vc-git--run-command file "update-index" "--add" "--")) |
168 |
(vc-git--run-command file "update-index" "--add" "--")) |
168 |
|
169 |
|
169 |
(defun vc-git-print-log (file &optional buffer) |
170 |
(defun vc-git-print-log (file &optional buffer) |