diff options
| author | Glenn Morris | 2014-08-25 12:48:08 -0400 |
|---|---|---|
| committer | Glenn Morris | 2014-08-25 12:48:08 -0400 |
| commit | f330aa150e8647594f31bef80bd49a7383efaf32 (patch) | |
| tree | 08d6bf20015c8f7921a45dd2addf2d90b8cd14d1 | |
| parent | 42ee94e0f4db09df60a0c56ee7746b6725eb8a76 (diff) | |
| download | emacs-f330aa150e8647594f31bef80bd49a7383efaf32.tar.gz emacs-f330aa150e8647594f31bef80bd49a7383efaf32.zip | |
* vc-git.el: Comments.
| -rw-r--r-- | lisp/vc/vc-git.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 27a2f8b3d4d..e9d55336af7 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -798,6 +798,10 @@ This prompts for a branch to merge from." | |||
| 798 | (defun vc-git-find-file-hook () | 798 | (defun vc-git-find-file-hook () |
| 799 | "Activate `smerge-mode' if there is a conflict." | 799 | "Activate `smerge-mode' if there is a conflict." |
| 800 | (when (and buffer-file-name | 800 | (when (and buffer-file-name |
| 801 | ;; FIXME | ||
| 802 | ;; 1) the net result is to call git twice per file. | ||
| 803 | ;; 2) v-g-c-f is documented to take a directory. | ||
| 804 | ;; http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01126.html | ||
| 801 | (vc-git-conflicted-files buffer-file-name) | 805 | (vc-git-conflicted-files buffer-file-name) |
| 802 | (save-excursion | 806 | (save-excursion |
| 803 | (goto-char (point-min)) | 807 | (goto-char (point-min)) |