]> code.delx.au - gnu-emacs/blobdiff - lisp/vc/vc.el
Improve handling of the first Git revision
[gnu-emacs] / lisp / vc / vc.el
index d5d0abe6517775bf69e6d2ffc254d38c5a9c2cef..1bd04e13430bac75f6944d549f1097750c0a873f 100644 (file)
 ;;   BUFFER is nil.  If ASYNC is non-nil, run asynchronously.  If REV1
 ;;   and REV2 are non-nil, report differences from REV1 to REV2.  If
 ;;   REV1 is nil, use the working revision (as found in the
-;;   repository) as the older revision; if REV2 is nil, use the
+;;   repository) as the older revision if REV2 is nil as well;
+;;   otherwise, diff against an empty tree.  If REV2 is nil, use the
 ;;   current working-copy contents as the newer revision.  This
 ;;   function should pass the value of (vc-switches BACKEND 'diff) to
 ;;   the backend command.  It should return a status of either 0 (no