login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Junio C Hamano <gitster@...>, Steven Grimm <koreth@...>, <git@...>
Date: Monday, November 5, 2007 - 8:08 pm

On Mon, Nov 05, 2007 at 11:40:46PM +0000, Johannes Schindelin wrote:
e=20
r=20
s=20
=20
=20

  I agree that this is something that really makes sense to me, and does
not looks like a perversion of the UI, and quite a nice extension in
fact. And it would _finally_ solve the issue that for _ANYTHING_ on the
planet that I've used for more than 10 seconds, $SCM revert path/to/file
reverts local changes :)

  When you look at how git-revert is implemented, you'll see that it
uses the very same code as git cherry-pick does, and in fact, I've
wanted a git cherry-pick <commit> -- path1 path2 path3 for a _very_ long
time, and your proposal would just gracefully give it as a bonus I
believe (of course uncommited changes have no sense for a cherry-pick).

  I like it a lot.

--=20
=C2=B7O=C2=B7  Pierre Habouzit
=C2=B7=C2=B7O                                                madcoder@debia=
n.org
OOO                                                http://www.madism.org
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Mon Nov 5, 7:40 pm)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Tue Nov 6, 8:25 am)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Tue Nov 6, 8:16 am)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Mon Nov 5, 11:18 pm)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Tue Nov 6, 8:32 am)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Tue Nov 6, 6:25 pm)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Wed Nov 7, 7:08 am)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Tue Nov 6, 2:27 pm)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Johannes Schindelin, (Tue Nov 6, 6:21 pm)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Pierre Habouzit, (Mon Nov 5, 8:08 pm)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Alejandro Martinez Ruiz, (Mon Nov 5, 5:54 pm)
Re: [PATCH] git-revert is one of the most misunderstood comm..., Alejandro Martinez Ruiz, (Mon Nov 5, 7:41 pm)
speck-geostationary