Thread (1 message) 1 message, 1 author, 2016-08-11

Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".

From: Johannes Schindelin <hidden>
Date: 2016-08-11 19:38:01

Hi,

On Thu, 30 Nov 2006, Junio C Hamano wrote:
Linus Torvalds [off-list ref] writes:
quoted
...
So yes, you very much ARE talking about CVS braindamage. The reason why

	git add file.c
	echo New line >> file.c
	git commit

commits the _old_ content, is very much because git is ALL ABOUT THE 
CONTENT. It has _never_ been about filenames. And it _shouldn't_ be about 
filenames, because that would be BUGGY AND BROKEN.
I think this pretty much sums up and closes the current topic,
by declaring "expecting to give behaviour consistent to the
'filename is what the user tells the SCM to track' mental model
CVS instilled is a lost cause".
I think this is so important, that I vote for including this email as 
Documentation/howto/explain-why-git-is-better-than-cvs.txt

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