Re: Status of all files (was: Re: How can I tell if a file is ignored by git?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Raymond
Date: Friday, April 9, 2010 - 7:02 am

Jakub Narebski <jnareb@gmail.com>:

Not documented in my installed version, 1.6.3.3.  Where can I go in the
repo to read about this?


Yes, that was what I thought.  Is this what ls-files is reporting as 'H'?  

(The ls-files -t codes need better documentation.  If I get detailed enough
answers, I will write some.)
 

No, it does not.  Thank you for asking that question, I have just
added a note about this to the VC code exactly where it will do the
most good.


Agreed. But there's no way to tell that this is the case without 
doing a pull operation or otherwise querying origin, and I'm
not going to do that.

Explanation: My general rule for DVCS back ends is that the status commands
aren't allowed to do network operations, and it's OK for them not to
report a state code if that would be required.  This is so VC will fully
support disconnected operation when the VCS does.

I have, however, added a note to vc-git.el explaining that this is
possible if we ever teach the mode front end to behave differently when
it knows it has live Internet.  I might do this in the future.
 

Following your previous logic, I think it would make sense to set this if 
we could detect that the upstream of the current branch has forward commits 
touching this file.  Again, this would require a network operation in the
general case.


It is unclear what Emacs wants in this situation; I will try to find out.
The documentation says this:

                     For now the conflicts are text conflicts.  In the
                     future this might be extended to deal with metadata
                     conflicts too.

I don't think anyone was thinking about rename/rename conficts...
 

That was my best guess too.  Can anyone say more definitely?
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How can I tell if a file is ignored by git?, Eric Raymond, (Thu Apr 8, 9:04 pm)
Re: How can I tell if a file is ignored by git?, Jacob Helwig, (Thu Apr 8, 9:10 pm)
Re: How can I tell if a file is ignored by git?, Ramkumar Ramachandra, (Thu Apr 8, 9:50 pm)
Re: How can I tell if a file is ignored by git?, =?UTF-8?B?w4Z2YXIgQX ..., (Thu Apr 8, 10:01 pm)
Re: How can I tell if a file is ignored by git?, Eric Raymond, (Fri Apr 9, 3:50 am)
Re: Status of all files (was: Re: How can I tell if a file ..., Randal L. Schwartz, (Fri Apr 9, 5:11 am)
Re: Status of all files (was: Re: How can I tell if a file ..., Eric Raymond, (Fri Apr 9, 7:02 am)
Re: Status of all files, Paolo Bonzini, (Sat Apr 10, 3:12 pm)
Re: Status of all files, Jeff King, (Sun Apr 11, 3:25 am)