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

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

[nongnu] elpa/git-commit 846d153a2e: Fix hash/commit summary order in pu


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 846d153a2e: Fix hash/commit summary order in push branch header
Date: Sun, 30 Jan 2022 20:58:20 -0500 (EST)

branch: elpa/git-commit
commit 846d153a2e715aeb5b5a43adfdbc9cf2597d5b67
Author: Géza Herman <geza.herman@gmail.com>
Commit: Géza Herman <geza.herman@gmail.com>

    Fix hash/commit summary order in push branch header
    
    Other parts of the header use the order of hash then commit, but push
    header uses the opposite order. This commit fixes it.
---
 lisp/magit-status.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/magit-status.el b/lisp/magit-status.el
index eed0dcd295..07815f1d3f 100644
--- a/lisp/magit-status.el
+++ b/lisp/magit-status.el
@@ -658,11 +658,11 @@ arguments are for internal use only."
       (insert (format "%-10s" "Push: "))
       (insert
        (if (magit-rev-verify target)
-           (concat target " "
-                   (and magit-status-show-hashes-in-headers
+           (concat (and magit-status-show-hashes-in-headers
                         (concat (propertize (magit-rev-format "%h" target)
                                             'font-lock-face 'magit-hash)
                                 " "))
+                   target " "
                    (funcall magit-log-format-message-function target
                             (funcall magit-log-format-message-function nil
                                      (or (magit-rev-format "%s" target)



reply via email to

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