From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Ed Avis <eda@waniasset.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#21166: 24.4;
	vc-mode and git error on newly added file to new repository
Date: Fri, 31 Jul 2015 17:27:10 +0000
Message-ID: <7E039918541B4C4183BFDB8F015C743032E5C672@WCL-EXCH02.wcl.local>
References: <7E039918541B4C4183BFDB8F015C743032E5C24D@WCL-EXCH02.wcl.local>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1438363713 3788 80.91.229.3 (31 Jul 2015 17:28:33 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 31 Jul 2015 17:28:33 +0000 (UTC)
To: "'dgutov@yandex.ru'" <dgutov@yandex.ru>,
	"'21166@debbugs.gnu.org'" <21166@debbugs.gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 19:28:19 2015
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1ZLE6U-00081U-4j
	for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2015 19:28:18 +0200
Original-Received: from localhost ([::1]:45426 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1ZLE6T-0004Vk-G4
	for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2015 13:28:17 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59016)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ZLE6K-0004Lm-3w
	for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 13:28:14 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ZLE6E-0004Qr-6z
	for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 13:28:08 -0400
Original-Received: from debbugs.gnu.org ([140.186.70.43]:34573)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ZLE6E-0004Qd-3e
	for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 13:28:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ZLE6D-0003ng-RB
	for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2015 13:28:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Ed Avis <eda@waniasset.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 31 Jul 2015 17:28:01 +0000
Resent-Message-ID: <handler.21166.B21166.143836363714549@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 21166
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
Original-Received: via spool by 21166-submit@debbugs.gnu.org id=B21166.143836363714549
	(code B ref 21166); Fri, 31 Jul 2015 17:28:01 +0000
Original-Received: (at 21166) by debbugs.gnu.org; 31 Jul 2015 17:27:17 +0000
Original-Received: from localhost ([127.0.0.1]:36019 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1ZLE5T-0003ma-Ng
	for submit@debbugs.gnu.org; Fri, 31 Jul 2015 13:27:16 -0400
Original-Received: from mail1.bemta5.messagelabs.com ([195.245.231.152]:15836)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <eda@waniasset.com>) id 1ZLE5Q-0003mK-JQ
	for 21166@debbugs.gnu.org; Fri, 31 Jul 2015 13:27:14 -0400
Original-Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id
	3D/F7-14422-FEFABB55; Fri, 31 Jul 2015 17:27:11 +0000
X-Env-Sender: eda@waniasset.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1438363631!25052951!1
X-Originating-IP: [80.169.169.167]
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=waniasset.com,-,-
X-VirusChecked: Checked
Original-Received: (qmail 8940 invoked from network); 31 Jul 2015 17:27:11 -0000
Original-Received: from unknown (HELO WCL-EXCHCAS02.wcl.local) (80.169.169.167)
	by server-4.tower-206.messagelabs.com with AES128-SHA encrypted SMTP;
	31 Jul 2015 17:27:11 -0000
Original-Received: from WCL-EXCH02.wcl.local ([169.254.1.57]) by
	WCL-EXCHCAS02.wcl.local ([149.85.127.102]) with mapi id 14.03.0123.003;
	Fri, 31 Jul 2015 18:27:10 +0100
Thread-Topic: bug#21166: 24.4; vc-mode and git error on newly added file to
	new repository
Thread-Index: AdDLnrzz5kFiFpc+QBSz1E14nD58swADsjyAAAIm8LQ=
In-Reply-To: <55BBAF8D.90805@yandex.ru>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [149.85.127.28]
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.186.70.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.bugs:105247
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/105247>

I guess you don't have to add an extra process call but just check for thi=
s error message, and if so, show the diff as from an empty tree.=20

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 reci=
pient is prohibited. If you received this email in error, please contact t=
he 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 an=
y financial instrument. Wadhwani Asset Management LLP is a Limited Liabili=
ty Partnership registered in England (OC303168) with registered office at =
40 Berkeley Square, 3rd Floor, London, W1J 5AL. It is authorised and regul=
ated by the Financial Conduct Authority.