diff options
| author | Juri Linkov | 2019-05-19 23:11:27 +0300 |
|---|---|---|
| committer | Juri Linkov | 2019-05-19 23:11:27 +0300 |
| commit | 82db17d0d1231c4aa26e837f37428c44a67663ea (patch) | |
| tree | 086396528dfd2f83657992ddf1bb88e3789f0909 /doc | |
| parent | 1b2b136a17d222892af9c25559e1b4c41de7831c (diff) | |
| download | emacs-82db17d0d1231c4aa26e837f37428c44a67663ea.tar.gz emacs-82db17d0d1231c4aa26e837f37428c44a67663ea.zip | |
Publicize behavior of log-view-diff at beginning/end of active region
* lisp/vc/log-view.el (log-view-diff, log-view-diff-changeset):
* doc/emacs/maintaining.texi (VC Change Log): Document behavior of
log-view-diff at the beginning and the end of the log buffer
when the region is active. (Bug#35624)
* lisp/vc/vc-git.el (vc-git-print-log): Insert newline at the
beginning to enable the feature of diffing with the working revision.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/maintaining.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 4986c111030..0fbf91ae613 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -1033,6 +1033,7 @@ systems support modifying change comments. | |||
| 1033 | Visit the revision indicated at the current line. | 1033 | Visit the revision indicated at the current line. |
| 1034 | 1034 | ||
| 1035 | @item d | 1035 | @item d |
| 1036 | @itemx = | ||
| 1036 | Display a diff between the revision at point and the next earlier | 1037 | Display a diff between the revision at point and the next earlier |
| 1037 | revision, for the specific file. | 1038 | revision, for the specific file. |
| 1038 | 1039 | ||
| @@ -1047,6 +1048,16 @@ L}), toggle between showing and hiding the full log entry for the | |||
| 1047 | revision at point. | 1048 | revision at point. |
| 1048 | @end table | 1049 | @end table |
| 1049 | 1050 | ||
| 1051 | To compare two arbitrary revisions, activate the region: set the | ||
| 1052 | beginning of the region to the line with the first revision and the | ||
| 1053 | end of the region to the line with the second revision to compare, | ||
| 1054 | then type @kbd{d} or @kbd{=}. When the beginning of the region is on | ||
| 1055 | the top line that has no revision, it uses the current working revision | ||
| 1056 | as the first revision to compare. When the end of the region is on | ||
| 1057 | the bottom non-revision line after the last revision line, then it | ||
| 1058 | uses the next earlier revision after the last displayed revision as | ||
| 1059 | the second revision to compare. | ||
| 1060 | |||
| 1050 | @vindex vc-log-show-limit | 1061 | @vindex vc-log-show-limit |
| 1051 | Because fetching many log entries can be slow, the | 1062 | Because fetching many log entries can be slow, the |
| 1052 | @file{*vc-change-log*} buffer displays no more than 2000 revisions by | 1063 | @file{*vc-change-log*} buffer displays no more than 2000 revisions by |