{"thread":{"id":"38154","subject":"[wish] Revert changes in git gui","startedAt":"2014-12-09T19:49:55Z","lastAt":"2014-12-14T18:25:42Z","messageCount":8,"participants":["Christoph Grüninger","Johannes Sixt","Bert Wesarg","Stefan Haller","Philip Oakley"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"253436","messageId":"54875263.1010407@grueninger.de","threadId":"38154","inReplyTo":null,"subject":"[wish] Revert changes in git gui","fromName":"Christoph Grüninger","fromEmail":"foss@grueninger.de","sentAt":"2014-12-09T19:49:55Z","receivedAt":"2014-12-09T19:49:55Z","isPatch":false,"sender":{"key":"foss@grueninger.de","avatar":null},"body":"Hi Git devs,\nI have a feature request for git gui:\n\nWhile browsing the changes, it is very easy to add (or remove) lines or \nhunks for commit via the context menu. I would like to revert the \nchanges of a line or a hunk in a similar way. I have often white-space \nor formatting changes I don't want to commit but want them reverted \nimmediately.\n\nBye\nChristoph\n"},{"id":"253444","messageId":"548759C2.5030909@kdbg.org","threadId":"38154","inReplyTo":"54875263.1010407@grueninger.de","subject":"Re: [wish] Revert changes in git gui","fromName":"Johannes Sixt","fromEmail":"j6t@kdbg.org","sentAt":"2014-12-09T20:21:22Z","receivedAt":"2014-12-09T20:21:22Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Am 09.12.2014 um 20:49 schrieb Christoph Grüninger:\n> While browsing the changes, it is very easy to add (or remove) lines or\n> hunks for commit via the context menu. I would like to revert the\n> changes of a line or a hunk in a similar way. I have often white-space\n> or formatting changes I don't want to commit but want them reverted\n> immediately.\n\nI'm using this patch series since it was posted:\n\nhttp://thread.gmane.org/gmane.comp.version-control.git/188170/focus=188171\n\n-- Hannes\n"},{"id":"253480","messageId":"CAKPyHN2OSARgsYtC0MAxXqe=LZnBC9eq9BxkGme0QTRhnH9a1g@mail.gmail.com","threadId":"38154","inReplyTo":"548759C2.5030909@kdbg.org","subject":"Re: [wish] Revert changes in git gui","fromName":"Bert Wesarg","fromEmail":"bert.wesarg@googlemail.com","sentAt":"2014-12-10T07:42:45Z","receivedAt":"2014-12-10T07:42:45Z","isPatch":false,"sender":{"key":"bert.wesarg@googlemail.com","avatar":"https://avatars.githubusercontent.com/u/111934?v=4"},"body":"On Tue, Dec 9, 2014 at 9:21 PM, Johannes Sixt <j6t@kdbg.org> wrote:\n> Am 09.12.2014 um 20:49 schrieb Christoph Grüninger:\n>> While browsing the changes, it is very easy to add (or remove) lines or\n>> hunks for commit via the context menu. I would like to revert the\n>> changes of a line or a hunk in a similar way. I have often white-space\n>> or formatting changes I don't want to commit but want them reverted\n>> immediately.\n>\n> I'm using this patch series since it was posted:\n>\n> http://thread.gmane.org/gmane.comp.version-control.git/188170/focus=188171\n\nMaybe this is easier to apply:\n\nhttp://repo.or.cz/w/git-gui/bertw.git/commit/5d7a81b626c34a94c6c43937d8a64572b6231196\n\nBert\n"},{"id":"253481","messageId":"1lwfjzt.1vnoyhf195ryi8M%lists@haller-berlin.de","threadId":"38154","inReplyTo":"54875263.1010407@grueninger.de","subject":"Re: [wish] Revert changes in git gui","fromName":"Stefan Haller","fromEmail":"lists@haller-berlin.de","sentAt":"2014-12-10T07:54:31Z","receivedAt":"2014-12-10T07:54:31Z","isPatch":false,"sender":{"key":"lists@haller-berlin.de","avatar":null},"body":"Christoph Grüninger <foss@grueninger.de> wrote:\n\n> While browsing the changes, it is very easy to add (or remove) lines or\n> hunks for commit via the context menu. I would like to revert the \n> changes of a line or a hunk in a similar way. I have often white-space\n> or formatting changes I don't want to commit but want them reverted \n> immediately.\n\nI would like to have this feature too.\n\nIn the meantime, my workaround is to stage the whole file, unstage the\nhunk(s) or lines that I want to revert, and then choose \"Revert Changes\"\nfrom the Commit menu. A little more awkward than I would like, but it\nworks well (except when you already took some time to selectively stage\nhunks or lines for the next commit). So yes, a context menu for this\nwould be very welcome.\n\n\n-- \nStefan Haller\nBerlin, Germany\nhttp://www.haller-berlin.de/\n"},{"id":"253598","messageId":"548AA6E6.5050805@grueninger.de","threadId":"38154","inReplyTo":"CAKPyHN2OSARgsYtC0MAxXqe=LZnBC9eq9BxkGme0QTRhnH9a1g@mail.gmail.com","subject":"Re: [wish] Revert changes in git gui","fromName":"Christoph Grüninger","fromEmail":"foss@grueninger.de","sentAt":"2014-12-12T08:27:18Z","receivedAt":"2014-12-12T08:27:18Z","isPatch":false,"sender":{"key":"foss@grueninger.de","avatar":null},"body":"Hi Bert,\nyour commit is more than half a year old. Do you intent to include that\ninto Git master? If not, what's the reason?\n\nBye\nChristoph\n\nAm 10.12.2014 um 08:42 schrieb Bert Wesarg:\n>\n> Maybe this is easier to apply:\n> \n> http://repo.or.cz/w/git-gui/bertw.git/commit/5d7a81b626c34a94c6c43937d8a64572b6231196\n> \n> Bert \n"},{"id":"253633","messageId":"CAKPyHN2sur9KHVkLGq2WPzvc5hLD8BfK-hA7EyZ=-3DTZRTRQA@mail.gmail.com","threadId":"38154","inReplyTo":"548AA6E6.5050805@grueninger.de","subject":"Re: [wish] Revert changes in git gui","fromName":"Bert Wesarg","fromEmail":"bert.wesarg@googlemail.com","sentAt":"2014-12-12T09:28:54Z","receivedAt":"2014-12-12T09:28:54Z","isPatch":false,"sender":{"key":"bert.wesarg@googlemail.com","avatar":"https://avatars.githubusercontent.com/u/111934?v=4"},"body":"On Fri, Dec 12, 2014 at 9:27 AM, Christoph Grüninger <foss@grueninger.de> wrote:\n> Hi Bert,\n> your commit is more than half a year old. Do you intent to include that\n> into Git master? If not, what's the reason?\n\nThats a really odd question to a person who posted this patch to the\nmailling list the fist place, isn't it? If anything you should have\nasked the git gui developers and community, why they didn't show\ninterest to have this in master, right?\n\nBert\n\n>\n> Bye\n> Christoph\n>\n"},{"id":"253685","messageId":"548DD626.5060102@grueninger.de","threadId":"38154","inReplyTo":"CAKPyHN2sur9KHVkLGq2WPzvc5hLD8BfK-hA7EyZ=-3DTZRTRQA@mail.gmail.com","subject":"Re: [wish] Revert changes in git gui","fromName":"Christoph Grüninger","fromEmail":"foss@grueninger.de","sentAt":"2014-12-14T18:25:42Z","receivedAt":"2014-12-14T18:25:42Z","isPatch":false,"sender":{"key":"foss@grueninger.de","avatar":null},"body":"Hi Bert,\nyes and no. I couldn't find a message from you requesting a merge of\nthis patch. Maybe it's me, I am not familiar with the way it works for Git.\n\n@Git developers: Do you consider merging Bert's patch? If not, what's\nthe reason?\n\nBye\nChristoph\n\n\nOn 12.12.2014 at 10:28, Bert Wesarg wrote:\n> On Fri, Dec 12, 2014 at 9:27 AM, Christoph Grüninger <foss@grueninger.de> wrote:\n>> Hi Bert,\n>> your commit is more than half a year old. Do you intent to include that\n>> into Git master? If not, what's the reason?\n> \n> Thats a really odd question to a person who posted this patch to the\n> mailling list the fist place, isn't it? If anything you should have\n> asked the git gui developers and community, why they didn't show\n> interest to have this in master, right?\n> \n> Bert\n"},{"id":"253686","messageId":"CEA0701CFAE141D0BD40149A8D1BC1B4@PhilipOakley","threadId":"38154","inReplyTo":"548DD626.5060102@grueninger.de","subject":"Re: [wish] Revert changes in git gui","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":null,"receivedAt":"2014-12-14T18:25:42Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"Christoph Grüninger\" <foss@grueninger.de>\n> Hi Bert,\n> yes and no. I couldn't find a message from you requesting a merge of\n> this patch. Maybe it's me, I am not familiar with the way it works for\n> Git.\n>\n> @Git developers: Do you consider merging Bert's patch? If not, what's\n> the reason?\n>\n> Bye\n> Christoph\n>\n>\n> On 12.12.2014 at 10:28, Bert Wesarg wrote:\n>> On Fri, Dec 12, 2014 at 9:27 AM, Christoph Grüninger\n>> <foss@grueninger.de> wrote:\n>>> Hi Bert,\n>>> your commit is more than half a year old. Do you intent to include\n>>> that\n>>> into Git master? If not, what's the reason?\n>>\n>> Thats a really odd question to a person who posted this patch to the\n>> mailling list the fist place, isn't it? If anything you should have\n>> asked the git gui developers and community, why they didn't show\n>> interest to have this in master, right?\n>>\nHi,\nGit gui isn't maintained by Junio himself :\nhttp://git-blame.blogspot.co.uk/2011/04/note-from-maintainer.html\n<quote>\nAlthough the following are included in git.git repository, they have\ntheir own authoritative repository and maintainers:\n\n  a.. git-gui/ comes from git-gui project, maintained by Pat Thoyts:\n\ngit://repo.or.cz/git-gui.git\n</quote>\n\nPerhaps copy the original patch to Pat, with the justifications, reviews \nand Acks, to see if it's acceptable.\n--\nPhilip\n"}]}