Git development
 help / color / mirror / Atom feed
* [wish] Revert changes in git gui
@ 2014-12-09 19:49 Christoph Grüninger
  2014-12-09 20:21 ` Johannes Sixt
  2014-12-10  7:54 ` Stefan Haller
  0 siblings, 2 replies; 8+ messages in thread
From: Christoph Grüninger @ 2014-12-09 19:49 UTC (permalink / raw)
  To: git

Hi Git devs,
I have a feature request for git gui:

While browsing the changes, it is very easy to add (or remove) lines or 
hunks for commit via the context menu. I would like to revert the 
changes of a line or a hunk in a similar way. I have often white-space 
or formatting changes I don't want to commit but want them reverted 
immediately.

Bye
Christoph

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [wish] Revert changes in git gui
  2014-12-09 19:49 [wish] Revert changes in git gui Christoph Grüninger
@ 2014-12-09 20:21 ` Johannes Sixt
  2014-12-10  7:42   ` Bert Wesarg
  2014-12-10  7:54 ` Stefan Haller
  1 sibling, 1 reply; 8+ messages in thread
From: Johannes Sixt @ 2014-12-09 20:21 UTC (permalink / raw)
  To: Christoph Grüninger; +Cc: git, Bert Wesarg

Am 09.12.2014 um 20:49 schrieb Christoph Grüninger:
> While browsing the changes, it is very easy to add (or remove) lines or
> hunks for commit via the context menu. I would like to revert the
> changes of a line or a hunk in a similar way. I have often white-space
> or formatting changes I don't want to commit but want them reverted
> immediately.

I'm using this patch series since it was posted:

http://thread.gmane.org/gmane.comp.version-control.git/188170/focus=188171

-- Hannes

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [wish] Revert changes in git gui
  2014-12-09 20:21 ` Johannes Sixt
@ 2014-12-10  7:42   ` Bert Wesarg
  2014-12-12  8:27     ` Christoph Grüninger
  0 siblings, 1 reply; 8+ messages in thread
From: Bert Wesarg @ 2014-12-10  7:42 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: Christoph Grüninger, Git Mailing List

On Tue, Dec 9, 2014 at 9:21 PM, Johannes Sixt <j6t@kdbg.org> wrote:
> Am 09.12.2014 um 20:49 schrieb Christoph Grüninger:
>> While browsing the changes, it is very easy to add (or remove) lines or
>> hunks for commit via the context menu. I would like to revert the
>> changes of a line or a hunk in a similar way. I have often white-space
>> or formatting changes I don't want to commit but want them reverted
>> immediately.
>
> I'm using this patch series since it was posted:
>
> http://thread.gmane.org/gmane.comp.version-control.git/188170/focus=188171

Maybe this is easier to apply:

http://repo.or.cz/w/git-gui/bertw.git/commit/5d7a81b626c34a94c6c43937d8a64572b6231196

Bert

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [wish] Revert changes in git gui
  2014-12-09 19:49 [wish] Revert changes in git gui Christoph Grüninger
  2014-12-09 20:21 ` Johannes Sixt
@ 2014-12-10  7:54 ` Stefan Haller
  1 sibling, 0 replies; 8+ messages in thread
From: Stefan Haller @ 2014-12-10  7:54 UTC (permalink / raw)
  To: Christoph Grüninger, git

Christoph Grüninger <foss@grueninger.de> wrote:

> While browsing the changes, it is very easy to add (or remove) lines or
> hunks for commit via the context menu. I would like to revert the 
> changes of a line or a hunk in a similar way. I have often white-space
> or formatting changes I don't want to commit but want them reverted 
> immediately.

I would like to have this feature too.

In the meantime, my workaround is to stage the whole file, unstage the
hunk(s) or lines that I want to revert, and then choose "Revert Changes"
from the Commit menu. A little more awkward than I would like, but it
works well (except when you already took some time to selectively stage
hunks or lines for the next commit). So yes, a context menu for this
would be very welcome.


-- 
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [wish] Revert changes in git gui
  2014-12-10  7:42   ` Bert Wesarg
@ 2014-12-12  8:27     ` Christoph Grüninger
  2014-12-12  9:28       ` Bert Wesarg
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Grüninger @ 2014-12-12  8:27 UTC (permalink / raw)
  To: Bert Wesarg, Johannes Sixt; +Cc: Git Mailing List

Hi Bert,
your commit is more than half a year old. Do you intent to include that
into Git master? If not, what's the reason?

Bye
Christoph

Am 10.12.2014 um 08:42 schrieb Bert Wesarg:
>
> Maybe this is easier to apply:
> 
> http://repo.or.cz/w/git-gui/bertw.git/commit/5d7a81b626c34a94c6c43937d8a64572b6231196
> 
> Bert 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [wish] Revert changes in git gui
  2014-12-12  8:27     ` Christoph Grüninger
@ 2014-12-12  9:28       ` Bert Wesarg
  2014-12-14 18:25         ` Christoph Grüninger
  0 siblings, 1 reply; 8+ messages in thread
From: Bert Wesarg @ 2014-12-12  9:28 UTC (permalink / raw)
  To: Christoph Grüninger; +Cc: Johannes Sixt, Git Mailing List

On Fri, Dec 12, 2014 at 9:27 AM, Christoph Grüninger <foss@grueninger.de> wrote:
> Hi Bert,
> your commit is more than half a year old. Do you intent to include that
> into Git master? If not, what's the reason?

Thats a really odd question to a person who posted this patch to the
mailling list the fist place, isn't it? If anything you should have
asked the git gui developers and community, why they didn't show
interest to have this in master, right?

Bert

>
> Bye
> Christoph
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [wish] Revert changes in git gui
  2014-12-12  9:28       ` Bert Wesarg
@ 2014-12-14 18:25         ` Christoph Grüninger
  2014-12-14 18:53           ` Philip Oakley
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Grüninger @ 2014-12-14 18:25 UTC (permalink / raw)
  To: Bert Wesarg; +Cc: Johannes Sixt, Git Mailing List

Hi Bert,
yes and no. I couldn't find a message from you requesting a merge of
this patch. Maybe it's me, I am not familiar with the way it works for Git.

@Git developers: Do you consider merging Bert's patch? If not, what's
the reason?

Bye
Christoph


On 12.12.2014 at 10:28, Bert Wesarg wrote:
> On Fri, Dec 12, 2014 at 9:27 AM, Christoph Grüninger <foss@grueninger.de> wrote:
>> Hi Bert,
>> your commit is more than half a year old. Do you intent to include that
>> into Git master? If not, what's the reason?
> 
> Thats a really odd question to a person who posted this patch to the
> mailling list the fist place, isn't it? If anything you should have
> asked the git gui developers and community, why they didn't show
> interest to have this in master, right?
> 
> Bert

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [wish] Revert changes in git gui
  2014-12-14 18:25         ` Christoph Grüninger
@ 2014-12-14 18:53           ` Philip Oakley
  0 siblings, 0 replies; 8+ messages in thread
From: Philip Oakley @ 2014-12-14 18:53 UTC (permalink / raw)
  To: Christoph Grüninger, Bert Wesarg; +Cc: Johannes Sixt, Git Mailing List

From: "Christoph Grüninger" <foss@grueninger.de>
> Hi Bert,
> yes and no. I couldn't find a message from you requesting a merge of
> this patch. Maybe it's me, I am not familiar with the way it works for
> Git.
>
> @Git developers: Do you consider merging Bert's patch? If not, what's
> the reason?
>
> Bye
> Christoph
>
>
> On 12.12.2014 at 10:28, Bert Wesarg wrote:
>> On Fri, Dec 12, 2014 at 9:27 AM, Christoph Grüninger
>> <foss@grueninger.de> wrote:
>>> Hi Bert,
>>> your commit is more than half a year old. Do you intent to include
>>> that
>>> into Git master? If not, what's the reason?
>>
>> Thats a really odd question to a person who posted this patch to the
>> mailling list the fist place, isn't it? If anything you should have
>> asked the git gui developers and community, why they didn't show
>> interest to have this in master, right?
>>
Hi,
Git gui isn't maintained by Junio himself :
http://git-blame.blogspot.co.uk/2011/04/note-from-maintainer.html
<quote>
Although the following are included in git.git repository, they have
their own authoritative repository and maintainers:

  a.. git-gui/ comes from git-gui project, maintained by Pat Thoyts:

git://repo.or.cz/git-gui.git
</quote>

Perhaps copy the original patch to Pat, with the justifications, reviews 
and Acks, to see if it's acceptable.
--
Philip

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-14 18:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 19:49 [wish] Revert changes in git gui Christoph Grüninger
2014-12-09 20:21 ` Johannes Sixt
2014-12-10  7:42   ` Bert Wesarg
2014-12-12  8:27     ` Christoph Grüninger
2014-12-12  9:28       ` Bert Wesarg
2014-12-14 18:25         ` Christoph Grüninger
2014-12-14 18:53           ` Philip Oakley
2014-12-10  7:54 ` Stefan Haller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox