aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc-git.el
diff options
context:
space:
mode:
authorEric S. Raymond2008-05-10 13:27:16 +0000
committerEric S. Raymond2008-05-10 13:27:16 +0000
commit2888a97eb5437535f484f725d3d9606f1cbdbd8f (patch)
treeefe43d9517aabfc09b5c70a8896175333eb13ab7 /lisp/vc-git.el
parentb3fccc2715c53adc5f80eb003abcd27f215f4564 (diff)
downloademacs-2888a97eb5437535f484f725d3d9606f1cbdbd8f.tar.gz
emacs-2888a97eb5437535f484f725d3d9606f1cbdbd8f.zip
Remove assumption about what nil means as a first arument to vc-do-command.
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r--lisp/vc-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index bf58572a083..b4704efc61e 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -695,7 +695,7 @@ This command shares argument histories with \\[rgrep] and \\[grep]."
695(defun vc-git-command (buffer okstatus file-or-list &rest flags) 695(defun vc-git-command (buffer okstatus file-or-list &rest flags)
696 "A wrapper around `vc-do-command' for use in vc-git.el. 696 "A wrapper around `vc-do-command' for use in vc-git.el.
697The difference to vc-do-command is that this function always invokes `git'." 697The difference to vc-do-command is that this function always invokes `git'."
698 (apply 'vc-do-command buffer okstatus "git" file-or-list flags)) 698 (apply 'vc-do-command (or buffer "*vc*") okstatus "git" file-or-list flags))
699 699
700(defun vc-git--empty-db-p () 700(defun vc-git--empty-db-p ()
701 "Check if the git db is empty (no commit done yet)." 701 "Check if the git db is empty (no commit done yet)."