[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dependency on tex-buf.el
From: |
Tassilo Horn |
Subject: |
Re: Dependency on tex-buf.el |
Date: |
Mon, 21 Mar 2022 06:59:28 +0100 |
User-agent: |
mu4e 1.7.10; emacs 29.0.50 |
Uwe Brauer <oub@mat.ucm.es> writes:
>> In Git it should work
>
> Well this does not work
>
> git init
> echo "First" > test.org
> git add -A test.org
> git commit -a -m "First"
> echo "Second" >> test.org
> git commit -a -m "Second"
> echo "Third" >> test.org
> git commit -a -m "Third"
> echo "Forth" >> test.org
> git commit -a -m "Forth"
> mv test.org testnew.org
> git add -A
> git commit -a -m "Renamed file test.org to testnew.org"
Indeed, that's because vc tries to get the previous revision by issuing
git rev-list -2 HEAD -- testnew.org
but testnew.org has no previous revision. :-(
> I think I will bring up that subject on emacs devel.
Maybe that could be fixed for the vc-annotate case because the previous
revision is most probably already in the "git blame" output which lead
to the current annotate buffer. But that's of course an edge case which
doesn't really fit in the general vc architecture...
Bye,
Tassilo
- Dependency on tex-buf.el, Ikumi Keita, 2022/03/18
- Re: Dependency on tex-buf.el, Ikumi Keita, 2022/03/18
- Re: Dependency on tex-buf.el, David Kastrup, 2022/03/18
- Re: Dependency on tex-buf.el, Ikumi Keita, 2022/03/19
- Re: Dependency on tex-buf.el, David Kastrup, 2022/03/19
- Re: Dependency on tex-buf.el, Uwe Brauer, 2022/03/19
- Re: Dependency on tex-buf.el, David Kastrup, 2022/03/19
- Re: Dependency on tex-buf.el, Uwe Brauer, 2022/03/19
- Re: Dependency on tex-buf.el, David Kastrup, 2022/03/19
- Re: Dependency on tex-buf.el, Uwe Brauer, 2022/03/20
- Re: Dependency on tex-buf.el,
Tassilo Horn <=
- Re: Dependency on tex-buf.el, Uwe Brauer, 2022/03/21
- Re: Dependency on tex-buf.el, Tassilo Horn, 2022/03/21
- Re: Dependency on tex-buf.el, Ikumi Keita, 2022/03/27
- Re: Dependency on tex-buf.el, Tassilo Horn, 2022/03/28
- Re: Dependency on tex-buf.el, Ikumi Keita, 2022/03/28
- Re: Dependency on tex-buf.el, Tassilo Horn, 2022/03/29
- Re: Dependency on tex-buf.el, Ikumi Keita, 2022/03/30
- Re: Dependency on tex-buf.el, Arash Esbati, 2022/03/30
- Re: Dependency on tex-buf.el, Tassilo Horn, 2022/03/30
- Re: Dependency on tex-buf.el, Tassilo Horn, 2022/03/30