emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] scratch/gited 6721b0e 5/7: * gited.el (gited-list-branches): Upda


From: Tino Calancha
Subject: [elpa] scratch/gited 6721b0e 5/7: * gited.el (gited-list-branches): Update docstring. Make alias to `gited-list'.
Date: Fri, 9 Jun 2017 10:51:49 -0400 (EDT)

branch: scratch/gited
commit 6721b0efe88adf6a6e7d73043046499e58f09847
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>

    * gited.el (gited-list-branches): Update docstring.  Make alias to 
`gited-list'.
---
 packages/gited/gited.el | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/packages/gited/gited.el b/packages/gited/gited.el
index 621aad0..cd56fd6 100644
--- a/packages/gited/gited.el
+++ b/packages/gited/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]