GNU bug report logs - #21166
24.4; vc-mode and git error on newly added file to new repository

Previous Next

Package: emacs;

Reported by: Ed Avis <eda <at> waniasset.com>

Date: Fri, 31 Jul 2015 14:44:02 UTC

Severity: minor

Tags: confirmed

Found in versions 24.5, 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ed Avis <eda <at> waniasset.com>
To: 'Dmitry Gutov' <dgutov <at> yandex.ru>, "21166 <at> debbugs.gnu.org" <21166 <at> debbugs.gnu.org>
Subject: bug#21166: 24.4; vc-mode and git error on newly added file to new repository
Date: Tue, 4 Aug 2015 14:58:10 +0000
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.

-- 
Ed Avis <eda <at> waniasset.com>

This email is intended only for the person to whom it is addressed and may contain confidential information. Any retransmission, copying, disclosure or other use of, this information by persons other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material. This email is for information only and is not intended as an offer or solicitation for the purchase or sale of any financial instrument. Wadhwani Asset Management LLP is a Limited Liability Partnership registered in England (OC303168) with registered office at 40 Berkeley Square, 3rd Floor, London, W1J 5AL. It is authorised and regulated by the Financial Conduct Authority.




This bug report was last modified 4 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.