Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: Seeing various mode changes on cygwin

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:08

Possibly related (same subject, not in this thread)


On Mon, 10 Oct 2005, Daniel Barkalow wrote:
Actually, you're right; it is information about the behavior of the 
working tree, and is also needed if you want to compare the working tree 
against a tree object, in which case you aren't using the index at all.
Git _always_ uses the index for working tree operations.

It may take the actual file _data_ from the working tree, but it will take 
the list of files from the index, so it's certainly possible to link the 
index to the working tree.

That said, I don't think it's necessarily a good idea. You can have 
temporary indexes for various operations that ignore the main one (ie any 
random

	GIT_INDEX_FILE=tmp git-read-tree ...

will create a new index).

So I think it's much better to have a config file.

I'll write something up. Make it extensible while at it.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help