Re: [PATCH] git-revert is one of the most misunderstood command in git, help users out.

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] git-revert is one of the most misunderstood command in git, help users out.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:47

Pierre Habouzit [off-list ref] writes:
On Tue, Nov 06, 2007 at 06:27:54PM +0000, Johannes Schindelin wrote:
quoted
Hi,

On Tue, 6 Nov 2007, Junio C Hamano wrote:
quoted
Johannes Schindelin [off-list ref] writes:
quoted
Well, I think that _if_ we allow "git revert <path>" to mean "revert the 
changes to <path>, relative to the index" (which would be the same as "git 
checkout <path>"), then committing that change just does not make sense.

And it is this behaviour that people are seeking, not "git revert <commit> 
<path>".
Heh, I found this in the recent log somewhere.

<gitte> Really, I wonder how difficult git is for people who are not
	brainwashed by cvs/svn, and unfortunately enough, partly by bzr and hg.
<gitte> From a user perspective, you might be correct.  But then we have to
	add 1000 commands to reflect the English language.
<gitte> Not what I want.						[06:46]

I am wondering who said it ;-).
Now, that is not fair, using my own words against me ;-)
  That's very funny actually :]
Yeah, it was doubly funny after I saw you posted a list of "$scm revert"
and Dscho still sided with you in that thread.

Re: [PATCH] git-revert is one of the most misunderstood command in git, help users out.

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:47

Hi,

On Tue, 6 Nov 2007, Junio C Hamano wrote:
Pierre Habouzit [off-list ref] writes:
quoted
On Tue, Nov 06, 2007 at 06:27:54PM +0000, Johannes Schindelin wrote:
quoted
On Tue, 6 Nov 2007, Junio C Hamano wrote:
quoted
Johannes Schindelin [off-list ref] writes:
quoted
Well, I think that _if_ we allow "git revert <path>" to mean 
"revert the changes to <path>, relative to the index" (which 
would be the same as "git checkout <path>"), then committing that 
change just does not make sense.

And it is this behaviour that people are seeking, not "git revert 
<commit> <path>".
Heh, I found this in the recent log somewhere.

<gitte> Really, I wonder how difficult git is for people who are not
	brainwashed by cvs/svn, and unfortunately enough, partly by bzr 
 and hg.
<gitte> From a user perspective, you might be correct.  But then we 
 have to add 1000 commands to reflect the English language.
<gitte> Not what I want.						[06:46]

I am wondering who said it ;-).
Now, that is not fair, using my own words against me ;-)
  That's very funny actually :]
Yeah, it was doubly funny after I saw you posted a list of "$scm revert" 
and Dscho still sided with you in that thread.
Hey, I had my nice 5 minutes for the day, so give me a break!

;-)

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