Function: vc-dir-git-mode

vc-dir-git-mode is an interactive and byte-compiled function defined in vc-git.el.gz.

Signature

(vc-dir-git-mode &optional ARG)

Documentation

A minor mode for git-specific commands in vc-dir-mode buffers.

Also note that there are git stash commands available in the
"Stash" section at the head of the buffer.

This is a minor mode. If called interactively, toggle the Vc-Dir-Git mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate vc-dir-git-mode(var)/vc-dir-git-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(define-minor-mode vc-dir-git-mode
  "A minor mode for git-specific commands in `vc-dir-mode' buffers.
Also note that there are git stash commands available in the
\"Stash\" section at the head of the buffer."
  :lighter " Git")