diff -ruN /usr/share/emacs/site-lisp/vc-git.el /home/evg/.emacs.d/vc-git.el --- /usr/share/emacs/site-lisp/vc-git.el 2008-07-10 01:10:40 +0800 +++ /home/evg/.emacs.d/vc-git.el 2008-09-18 00:15:17 +0800 @@ -164,6 +164,7 @@ (defun vc-git-register (file &optional rev comment) "Register FILE into the git version-control system." + (if comment (message "Note: your comment will be lost, cause git does not support comments for adding files.")) (vc-git--run-command file "update-index" "--add" "--")) (defun vc-git-print-log (file &optional buffer)