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

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

[elpa] externals/vc-got 424f515 100/145: don't need annotate-current-tim


From: ELPA Syncer
Subject: [elpa] externals/vc-got 424f515 100/145: don't need annotate-current-time; split the sections
Date: Thu, 9 Sep 2021 15:58:42 -0400 (EDT)

branch: externals/vc-got
commit 424f5152bad72242de91a2638f286596ec9e5659
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>

    don't need annotate-current-time; split the sections
---
 vc-got.el | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/vc-got.el b/vc-got.el
index 64c938c..b9c71b2 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -81,7 +81,8 @@
 ;; - revision-completion-table          DONE
 ;; - annotate-command                   DONE
 ;; - annotate-time                      DONE
-;; - annotate-current-time              NOT IMPLEMENTED
+;; - annotate-current-time              NOT NEEDED
+;;      the default time handling is enough.
 ;; - annotate-extract-revision-at-line  DONE
 ;; - region-history                     NOT IMPLEMENTED
 ;; - region-history-mode                NOT IMPLEMENTED
@@ -646,6 +647,9 @@ If PROMPT is non-nil, prompt for the git command to run."
   (let ((default-directory (vc-got--repo-root)))
     (vc-got--push-pull "git" "push" prompt)))
 
+
+;; History functions
+
 (defun vc-got-print-log (files buffer &optional _shortlog start-revision limit)
   "Insert the revision log for FILES into BUFFER.
 LIMIT limits the number of commits, optionally starting at
@@ -780,6 +784,9 @@ Value is returned as floating point fractional number of 
days."
     (when (looking-at vc-got--annotate-re)
       (match-string-no-properties 1))))
 
+
+;; Miscellaneous
+
 (defun vc-got-previous-revision (file rev)
   "Return the revision number that precedes REV for FILE, or nil if no such 
revision exists."
   (with-temp-buffer



reply via email to

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