commit - 52a18138203332f613100afe02fdf3587b147926
commit + a8466f02b7ba1629018f58c08c73d4fb2368c247
blob - 05e3c027bb506f09f317382cbbb52673b58df511 (mode 644)
blob + 42a2b5dd0901101ad9646e1585da159be2e5912a (mode 755)
--- vc-got.el
+++ vc-got.el
;; * registered DONE
;; * state DONE
;; - dir-status-files DONE
-;; - dir-extra-headers NOT IMPLEMENTED
+;; - dir-extra-headers DONE
;; - dir-printer NOT IMPLEMENTED
;; - status-fileinfo-extra NOT IMPLEMENTED
;; * working-revision DONE
;; (vc-got-dir-status-files dir nil (lambda (res _t)
;; (message "got %s" res))))
+(defun vc-got-dir-extra-headers (_dir)
+ (concat
+ (propertize "Branch : " 'face 'font-lock-type-face)
+ (vc-got--current-branch)))
+
(defun vc-got-working-revision (file)
"Return the id of the last commit that touched the FILE or \"0\" for a new (but added) file."
(or