[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gited 7ed4084 24/73: * gited.el (gited-list-branches):
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gited 7ed4084 24/73: * gited.el (gited-list-branches): Update docstring. Make alias to `gited-list'. |
Date: |
Sun, 29 Nov 2020 00:00:32 -0500 (EST) |
branch: externals/gited
commit 7ed4084d39b8302fcfa3026680075d1c54d2fcaa
Author: Tino Calancha <tino.calancha@gmail.com>
Commit: Tino Calancha <tino.calancha@gmail.com>
* gited.el (gited-list-branches): Update docstring. Make alias to
`gited-list'.
---
gited.el | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/gited.el b/gited.el
index 621aad0..cd56fd6 100644
--- a/gited.el
+++ b/gited.el
@@ -10,9 +10,9 @@
;; Compatibility: GNU Emacs: 24.4
;; Version: 0.2.0
;; Package-Requires: ((emacs "24.4") (cl-lib "0.5"))
-;; Last-Updated: Fri Jun 09 21:14:48 JST 2017
+;; Last-Updated: Fri Jun 09 22:11:39 JST 2017
;; By: calancha
-;; Update #: 657
+;; Update #: 658
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
@@ -3289,7 +3289,15 @@ in the active region."
;;;###autoload
(defun gited-list-branches (&optional pattern other-window update)
- "List all branches with the time of its last commit."
+ "List all branches or tags for the current repository.
+Optional arg PATTERN if non-nil, then must be \"local\", \"remote\",
+ or \"tags\". That lists local branches, remote branches and tags,
+ respectively. When PATTERN is nil, then list the local branches.
+Optional arg OTHER-WINDOW means to display the Gited buffer in another window.
+Optional arg UPDATE if non-nil, then force to update the gited buffer.
+ Otherwise, just switch to the Gited buffer if already exists.
+When called interactively prompt for PATTERN.
+When called interactively with a prefix set OTHER-WINDOW non-nil."
(interactive
(progn
(unless (gited-dir-under-Git-control-p)
@@ -3348,6 +3356,8 @@ in the active region."
(or gited-verbose (gited-hide-details-mode 1))
(setq gited--hide-details-set t)))))
+(defalias 'gited-list 'gited-list-branches)
+
(defun gited-print-entry (id cols)
"Insert a Gited entry at point.
ID is a Lisp object identifying the entry to print, and COLS is a vector
- [elpa] externals/gited c8eaa05 58/73: gited.el: Merge branch 'show-trunk-ci-status', (continued)
- [elpa] externals/gited c8eaa05 58/73: gited.el: Merge branch 'show-trunk-ci-status', Stefan Monnier, 2020/11/29
- [elpa] externals/gited 736ac62 52/73: Do not assume that 'git rev-parse 1' exits with status != 0, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 910cf66 40/73: * gited.el (gited-do-sync-with-trunk): Fix typo in docstring., Stefan Monnier, 2020/11/29
- [elpa] externals/gited dc0b527 38/73: gited-do-sync-with-trunk: New command, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 2ce2163 13/73: Prune deleted remote branches, Stefan Monnier, 2020/11/29
- [elpa] externals/gited fac8958 03/73: gited-list-branches: Move to current branch only when it's shown, Stefan Monnier, 2020/11/29
- [elpa] externals/gited aba4cf9 18/73: * gited.el (gited-goto-branch): Check first that BRANCH is shown., Stefan Monnier, 2020/11/29
- [elpa] externals/gited b0fe243 19/73: * gited.el (gited-set-branch-upstream): Output buffer must be editable., Stefan Monnier, 2020/11/29
- [elpa] externals/gited ff44a0d 23/73: * gited.el (gited-tag-add): Fix docstring., Stefan Monnier, 2020/11/29
- [elpa] externals/gited b4e58ca 27/73: gited-list: Add autoload cookie, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 7ed4084 24/73: * gited.el (gited-list-branches): Update docstring. Make alias to `gited-list'.,
Stefan Monnier <=
- [elpa] externals/gited 09d3586 28/73: Show example screenshots, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 1250818 30/73: Use proper name for the branch column according with gited-ref-kind, Stefan Monnier, 2020/11/29
- [elpa] externals/gited ffa55f4 65/73: * .travis.yml: Add recipes to test for Emacs 25.3 and Emacs 26.2, Stefan Monnier, 2020/11/29
- [elpa] externals/gited d31e1b2 63/73: Avoid side-effects in a couple of functions, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 5b230bc 33/73: Use remote branches on marking commands if listing remotes, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 6645603 37/73: * gited.el (gited-update): Preserve marks in Gited buffer., Stefan Monnier, 2020/11/29
- [elpa] externals/gited c9c6cf3 51/73: Add function to return the repository trunk branch, Stefan Monnier, 2020/11/29
- [elpa] externals/gited b09af6b 43/73: ; * gited.el: Update file header., Stefan Monnier, 2020/11/29
- [elpa] externals/gited 86f6564 69/73: gited: Add test for the last fixed bug, Stefan Monnier, 2020/11/29
- [elpa] externals/gited e328787 32/73: * gited.el (gited-hide-details-mode): Update gited-verbose when toggle the mode., Stefan Monnier, 2020/11/29