[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/diff-hl 401e2d1 2/3: Add more docu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/diff-hl 401e2d1 2/3: Add more docu |
Date: |
Mon, 1 Nov 2021 20:57:19 -0400 (EDT) |
branch: externals/diff-hl
commit 401e2d18bf513371061de8aa11d26695ace82405
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Add more docu
#71
---
README.md | 2 ++
diff-hl.el | 2 ++
2 files changed, 4 insertions(+)
diff --git a/README.md b/README.md
index 54eb6ca..dea8061 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,8 @@ About
`diff-hl-mode` highlights uncommitted changes on the left side of the window,
allows you to jump between and revert them selectively.
+In buffers controlled by Git, you can also stage and unstage the changes.
+
For the usage instructions and the list of commands, see the Commentary section
inside the file.
diff --git a/diff-hl.el b/diff-hl.el
index b345332..6f9d788 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -36,8 +36,10 @@
;; `diff-hl-previous-hunk' C-x v [
;; `diff-hl-next-hunk' C-x v ]
;; `diff-hl-show-hunk' C-x v *
+;; `diff-hl-stage-current-hunk' C-x v S
;; `diff-hl-set-reference-rev'
;; `diff-hl-reset-reference-rev'
+;; `diff-hl-unstage-file'
;;
;; The mode takes advantage of `smartrep' if it is installed.
;;