[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21166: 24.4; vc-mode and git error on newly added file to new reposi
From: |
Lars Ingebrigtsen |
Subject: |
bug#21166: 24.4; vc-mode and git error on newly added file to new repository |
Date: |
Tue, 25 Aug 2020 11:04:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ed Avis <eda@waniasset.com> writes:
> How about this: check for the error message, and if found then just
> print 'empty tree, so no diff to print'.
> That would be good enough. No need for an extra process call either
> before or after.
This was five years ago. I tried this in Emacs 28, and the problem is
still present.
As Dmitry says, this is a quite unusual situation, so perhaps the
current error message
fatal: bad revision 'HEAD'
is fine? It's slightly confusing... but not very.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#21166: 24.4; vc-mode and git error on newly added file to new repository,
Lars Ingebrigtsen <=