From 0b3118061d12d2ecbf2dccb0c23b8ef8ada87949 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Mon, 11 Aug 2008 15:46:17 +0300 Subject: [PATCH] Add HEAD info to status buffer. --- magit.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/magit.el b/magit.el index ba9da76e..e577daaf 100644 --- a/magit.el +++ b/magit.el @@ -407,6 +407,10 @@ pushed. (insert (format "Local: %s %s\n" (propertize (or branch "(detached)") 'face 'bold) (abbreviate-file-name default-directory))) + (insert + (format "Head: %s\n" + (magit-shell + "git log --max-count=1 --abbrev-commit --pretty=oneline"))) (let ((merge-heads (magit-file-lines ".git/MERGE_HEAD"))) (if merge-heads (insert (format "Merging: %s\n"