[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 2fe42f6 3/3: magit-show-refs: Add magit-refs-se
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 2fe42f6 3/3: magit-show-refs: Add magit-refs-set-show-commit-count |
Date: |
Tue, 7 Sep 2021 15:57:24 -0400 (EDT) |
branch: elpa/git-commit
commit 2fe42f63d558e488ad71d050e8ca5e8565c845ae
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-show-refs: Add magit-refs-set-show-commit-count
---
Documentation/magit.org | 8 ++++++--
Documentation/magit.texi | 10 ++++++++--
lisp/magit-refs.el | 4 +++-
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/Documentation/magit.org b/Documentation/magit.org
index 9cd5ce0..8929df7 100644
--- a/Documentation/magit.org
+++ b/Documentation/magit.org
@@ -8,7 +8,7 @@
#+TEXINFO_DIR_CATEGORY: Emacs
#+TEXINFO_DIR_TITLE: Magit: (magit).
#+TEXINFO_DIR_DESC: Using Git from Emacs with Magit.
-#+SUBTITLE: for version 3.2.1 (v3.2.1-43-g534ef5a64+1)
+#+SUBTITLE: for version 3.2.1 (v3.2.1-57-gee55595ca+1)
#+TEXINFO_DEFFN: t
#+OPTIONS: H:4 num:3 toc:2
@@ -25,7 +25,7 @@ directly from within Emacs. While many fine Git clients
exist, only
Magit and Git itself deserve to be called porcelains.
#+TEXINFO: @noindent
-This manual is for Magit version 3.2.1 (v3.2.1-43-g534ef5a64+1).
+This manual is for Magit version 3.2.1 (v3.2.1-57-gee55595ca+1).
#+BEGIN_QUOTE
Copyright (C) 2015-2021 Jonas Bernoulli <jonas@bernoul.li>
@@ -3508,6 +3508,10 @@ which all the other references are compared.
This command lists branches and tags in a dedicated buffer. Each
reference is being compared with a branch read from the user.
+- Key: y r, magit-refs-set-show-commit-count
+
+ This command change for which refs the commit count is shown.
+
- User Option: magit-refs-show-commit-count
Whether to show commit counts in Magit-Refs mode buffers.
diff --git a/Documentation/magit.texi b/Documentation/magit.texi
index caf202e..94900aa 100644
--- a/Documentation/magit.texi
+++ b/Documentation/magit.texi
@@ -31,7 +31,7 @@ General Public License for more details.
@finalout
@titlepage
@title Magit User Manual
-@subtitle for version 3.2.1 (v3.2.1-43-g534ef5a64+1)
+@subtitle for version 3.2.1 (v3.2.1-57-gee55595ca+1)
@author Jonas Bernoulli
@page
@vskip 0pt plus 1filll
@@ -53,7 +53,7 @@ directly from within Emacs. While many fine Git clients
exist, only
Magit and Git itself deserve to be called porcelains.
@noindent
-This manual is for Magit version 3.2.1 (v3.2.1-43-g534ef5a64+1).
+This manual is for Magit version 3.2.1 (v3.2.1-57-gee55595ca+1).
@quotation
Copyright (C) 2015-2021 Jonas Bernoulli <jonas@@bernoul.li>
@@ -4743,6 +4743,12 @@ is detached.
This command lists branches and tags in a dedicated buffer. Each
reference is being compared with a branch read from the user.
+@kindex y r
+@cindex magit-refs-set-show-commit-count
+@item @kbd{y r}
@tie{}@tie{}@tie{}@tie{}(@code{magit-refs-set-show-commit-count})
+
+This command change for which refs the commit count is shown.
+
@end table
@defopt magit-refs-show-commit-count
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el
index e49c1f9..e21bb1e 100644
--- a/lisp/magit-refs.el
+++ b/lisp/magit-refs.el
@@ -341,7 +341,9 @@ Type \\[magit-reset] to reset `HEAD' to the commit at point.
["Actions"
("y" "Show refs, comparing them with HEAD" magit-show-refs-head)
("c" "Show refs, comparing them with current branch"
magit-show-refs-current)
- ("o" "Show refs, comparing them with other branch" magit-show-refs-other)]
+ ("o" "Show refs, comparing them with other branch" magit-show-refs-other)
+ ("r" "Show refs, changing commit count display"
+ magit-refs-set-show-commit-count)]
(interactive (list (or (derived-mode-p 'magit-refs-mode)
current-prefix-arg)))
(if transient