all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ed Avis <eda@waniasset.com>
To: 'Dmitry Gutov' <dgutov@yandex.ru>,
	"21166@debbugs.gnu.org" <21166@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	[thread overview]
Message-ID: <7E039918541B4C4183BFDB8F015C743032E5E6EC@WCL-EXCH02.wcl.local> (raw)
In-Reply-To: <55BBB3F0.30709@yandex.ru>

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@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.





  reply	other threads:[~2015-08-04 14:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 14:43 bug#21166: 24.4; vc-mode and git error on newly added file to new repository Ed Avis
2015-07-31 17:25 ` Dmitry Gutov
2015-07-31 17:27   ` Ed Avis
2015-07-31 17:44     ` Dmitry Gutov
2015-08-04 14:58       ` Ed Avis [this message]
2020-08-25  9:04         ` Lars Ingebrigtsen
2020-10-11  3:07           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7E039918541B4C4183BFDB8F015C743032E5E6EC@WCL-EXCH02.wcl.local \
    --to=eda@waniasset.com \
    --cc=21166@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.