unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: vc-git: workaround for "file unregistered" problem
Date: Thu, 12 Nov 2009 10:39:23 -0500	[thread overview]
Message-ID: <jwvpr7nhhy6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <D556AC45-161C-4A7B-89B3-FF808A2F22C9@gmail.com> (David Reitter's message of "Thu, 12 Nov 2009 08:44:53 -0500")

> In some circumstances, git fails to report the status of files and
> pretends they are unregistered.  One symptom can be that vc-git will
> try to add the file a second time.   I have inquired about this on the
> Git list [1], but received no response - I'm not sure if this is a bug
> in git.

Can you report it as a bug?

> Either way, specifying full paths works around the problem, and the
> patch below does that for those who encounter similar issues.

It looks acceptable, exept that, like all patches which try to work
around a problem, it should come with a corresponding comment.


        Stefan




  reply	other threads:[~2009-11-12 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 13:44 vc-git: workaround for "file unregistered" problem David Reitter
2009-11-12 15:39 ` Stefan Monnier [this message]
2009-11-12 15:57   ` David Reitter
2009-11-12 17:08     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvpr7nhhy6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).