[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Merge-base alias for git vc-diff
From: |
Juri Linkov |
Subject: |
Re: Merge-base alias for git vc-diff |
Date: |
Wed, 02 Jan 2019 23:29:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> Since there is no good solution to reuse the existing command,
>> bug#33950 implements two new commands:
>>
>> * vc-log-mergebase (bound to ‘C-x v M L’) shows the same output as
>> GitLab shows in the “Commits” tab of the merge request.
>>
>> * vc-diff-mergebase (bound to ‘C-x v M D’) shows the same output as
>> GitLab shows in the “Changes” tab of the merge request.
>
> I must say I find this solution very unsatisfactory.
The reason I proposed separate commands is because I can't find
a good solution how to combine this with the existing commands.
Unsolved problems:
1. I don't know how to change the *Completions* buffer header from
“Possible completions are:” to
“Possible completions are (<REV>... means diff with common ancestor):”
2. How to support inserting a completion from the *Completions* buffer
into the minibuffer but not exiting the minibuffer after choose-completion.
Then after selecting a completion the user could add “...” to the end.
3. ‘C-u C-x v L’ asks for the limit only. Maybe adding a new prefix arg
‘C-u C-u C-x v L’ could ask for two revisions: start rev and end rev.
Then ‘C-u C-u C-x v D’ could also interpret its double prefix arg as diff
with the common ancestor.
- Re: Merge-base alias for git vc-diff, (continued)
- Re: Merge-base alias for git vc-diff, João Távora, 2019/01/02
- Re: Merge-base alias for git vc-diff, Dmitry Gutov, 2019/01/02
- Re: Merge-base alias for git vc-diff, Stefan Monnier, 2019/01/02
- Re: Merge-base alias for git vc-diff, João Távora, 2019/01/03
- Re: Merge-base alias for git vc-diff, Juri Linkov, 2019/01/03
- Re: Merge-base alias for git vc-diff, João Távora, 2019/01/03
- Re: Merge-base alias for git vc-diff, Juri Linkov, 2019/01/05
- Re: Merge-base alias for git vc-diff, Juri Linkov, 2019/01/07
- Re: Merge-base alias for git vc-diff, Stefan Monnier, 2019/01/08
- Re: Merge-base alias for git vc-diff, Juri Linkov, 2019/01/08
Re: Merge-base alias for git vc-diff,
Juri Linkov <=
Re: Merge-base alias for git vc-diff, Stefan Monnier, 2019/01/10
Re: Merge-base alias for git vc-diff, Juri Linkov, 2019/01/10