[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26309: [PATCH] (vc-git-register): register current file when called
From: |
Łukasz Stelmach |
Subject: |
bug#26309: [PATCH] (vc-git-register): register current file when called interactively |
Date: |
Thu, 30 Mar 2017 20:43:44 +0200 |
---
lisp/vc/vc-git.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 1a3f1bf..6399dc8 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -669,6 +669,8 @@ The car of the list is the current branch."
(defun vc-git-register (files &optional _comment)
"Register FILES into the git version-control system."
+ (interactive
+ (list (list (buffer-file-name))))
(let (flist dlist)
(dolist (crt files)
(if (file-directory-p crt)
--
2.1.4
- bug#26309: 24.4; vc-git-register doesn't run interactively, Łukasz Stelmach, 2017/03/30
- bug#26309: 24.4; vc-git-register doesn't run interactively, Noam Postavsky, 2017/03/30
- Message not available
- bug#26309: 24.4; vc-git-register doesn't run interactively, Łukasz Stelmach, 2017/03/30
- bug#26309: 24.4; vc-git-register doesn't run interactively, Andreas Schwab, 2017/03/30
- Message not available
- bug#26309: 24.4; vc-git-register doesn't run interactively, Łukasz Stelmach, 2017/03/30
- bug#26309: 24.4; vc-git-register doesn't run interactively, Noam Postavsky, 2017/03/30
- Message not available
- bug#26309: 24.4; vc-git-register doesn't run interactively, Łukasz Stelmach, 2017/03/30
- bug#26309: 24.4; vc-git-register doesn't run interactively, Dmitry Gutov, 2017/03/30
- bug#26309: 24.4; vc-git-register doesn't run interactively, Thien-Thi Nguyen, 2017/03/31
bug#26309: [PATCH] (vc-git-register): register current file when called interactively,
Łukasz Stelmach <=