[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
what is the git equivalent to vc-hg-symbolic-revision-styles and how to
From: |
Uwe Brauer |
Subject: |
what is the git equivalent to vc-hg-symbolic-revision-styles and how to include name-rev |
Date: |
Mon, 12 Dec 2022 18:18:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hi
I have set vc-hg-symbolic-revision-styles to
,----
| ("[{branch}]:({topic}):{rev}")
| Original value was
| (builtin-active-bookmark "{if(bookmarks,sub('
',',',bookmarks),if(phabdiff,phabdiff,shortest(node,6)))}")
`----
Since I find this more appealing.
Now,
1. What is the git equivalent to this variable in order to configure
the modline
2. Maybe more difficult, I am used to display git graphs with
following command from a terminal:
git log --since=2years --graph --color=always --all --decorate --pretty=short |
git name-rev --annotate-stdin | less -R
Giving me
* commit ba70baec6ca95c609e794624ca589c1de9ea02d8 (master) (HEAD -> master,
svannah/master, svannah/HEAD)
| Author: Ikumi Keita <ikumi@ikumi.que.jp>
|
| Fix doc strings regarding to section commands
|
* commit 7da1860c2a8cf7a2eb8f1596bf51af5532aa949b (master~1)
| Author: Ikumi Keita <ikumi@ikumi.que.jp>
|
| Support starred section names
|
* commit d7dc696f47b210729885d6e033472db9e6433761 (master~2)
| Author: Arash Esbati <arash@gnu.org>
|
| * latex.el (LaTeX-env-contents): Add the "nowarn" key.
|
I would like to have in the modline: the name of the branch, say master
*and* the let me call it «inverse version» like master~1 master~2
Any idea how to achieve this?
Thanks and regards
Uwe Brauer
--
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
- what is the git equivalent to vc-hg-symbolic-revision-styles and how to include name-rev,
Uwe Brauer <=