[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ce93571 19/25: Add some FIXMEs related to #71
From: |
Dmitry Gutov |
Subject: |
[elpa] master ce93571 19/25: Add some FIXMEs related to #71 |
Date: |
Sat, 8 Dec 2018 19:19:40 -0500 (EST) |
branch: master
commit ce93571117e945df076c274e721cd5bac7037eee
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Add some FIXMEs related to #71
---
diff-hl-flydiff.el | 1 +
diff-hl.el | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el
index 2c32208..33cbfbd 100644
--- a/diff-hl-flydiff.el
+++ b/diff-hl-flydiff.el
@@ -133,6 +133,7 @@ This requires the external program `diff' to be in your
`exec-path'."
(rev (diff-hl-flydiff-create-revision
file
(diff-hl-flydiff/working-revision file))))
+ ;; FIXME: When against staging, do it differently!
(diff-no-select rev (current-buffer) "-U 0 --strip-trailing-cr" 'noasync
(get-buffer-create " *diff-hl-diff*")))))
diff --git a/diff-hl.el b/diff-hl.el
index 86d9cc6..436165f 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -1,6 +1,6 @@
;;; diff-hl.el --- Highlight uncommitted changes using VC -*- lexical-binding:
t -*-
-;; Copyright (C) 2012-2016 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2018 Free Software Foundation, Inc.
;; Author: Dmitry Gutov <address@hidden>
;; URL: https://github.com/dgutov/diff-hl
@@ -237,6 +237,7 @@
(defun diff-hl-changes-buffer (file backend)
(let ((buf-name " *diff-hl* "))
(diff-hl-with-diff-switches
+ ;; FIXME: To diff against the staging area, call 'git diff-files -p'.
(vc-call-backend backend 'diff (list file)
diff-hl-reference-revision nil
buf-name))
- [elpa] master fa74f2f 04/25: Merge pull request #80 from ryuslash/master, (continued)
- [elpa] master fa74f2f 04/25: Merge pull request #80 from ryuslash/master, Dmitry Gutov, 2018/12/08
- [elpa] master 6a09f77 06/25: Merge pull request #81 from Wilfred/user_error_no_hunks, Dmitry Gutov, 2018/12/08
- [elpa] master 04c3b01 05/25: Use `user-error' when we can't proceed., Dmitry Gutov, 2018/12/08
- [elpa] master c476e40 07/25: Update the Requirements section, Dmitry Gutov, 2018/12/08
- [elpa] master 8dab389 09/25: Add separate set of faces for diff-hl-margin-mode, Dmitry Gutov, 2018/12/08
- [elpa] master 1d672dd 11/25: Clarify diff-hl-flydiff-mode docstring, Dmitry Gutov, 2018/12/08
- [elpa] master 3e9d264 08/25: Clean up diff-hl-dired process buffers, Dmitry Gutov, 2018/12/08
- [elpa] master 09b9354 12/25: Add a variable for the diff-hl-mode lighter, Dmitry Gutov, 2018/12/08
- [elpa] master bec9889 13/25: Define diff-hl-margin-unknown and diff-hl-margin-ignored, Dmitry Gutov, 2018/12/08
- [elpa] master f0b945a 14/25: Don't call vc-state unless the file exists, Dmitry Gutov, 2018/12/08
- [elpa] master ce93571 19/25: Add some FIXMEs related to #71,
Dmitry Gutov <=
- [elpa] master 9ef21e4 15/25: Merge pull request #93 from Wilfred/handle_file_move, Dmitry Gutov, 2018/12/08
- [elpa] master 027b0d2 20/25: diff-hl-revert-hunk: Emphasize the hunk, Dmitry Gutov, 2018/12/08
- [elpa] master 069a925 24/25: Bump the version, Dmitry Gutov, 2018/12/08
- [elpa] master a626bf8 23/25: Merge pull request #109 from edkolev/revert-hunk-in-narrowed-buffer, Dmitry Gutov, 2018/12/08
- [elpa] master a48699f 21/25: #111 Extract diff-hl-highlight-revert-hunk-function, Dmitry Gutov, 2018/12/08
- [elpa] master 154c64a 18/25: Merge pull request #105 from phst/license, Dmitry Gutov, 2018/12/08
- [elpa] master 63f1687 10/25: diff-hl-dired-update: Handle up-to-date entries properly, Dmitry Gutov, 2018/12/08
- [elpa] master 190622d 16/25: Fix #102, Dmitry Gutov, 2018/12/08
- [elpa] master 93aa34d 22/25: Make sure buffer is not narrowed when reverting a hunk, Dmitry Gutov, 2018/12/08
- [elpa] master 262a6d5 17/25: Add a LICENSE file, Dmitry Gutov, 2018/12/08