{"thread":{"id":"23662","subject":"Revert hunk?","startedAt":"2010-05-01T19:54:38Z","lastAt":"2010-05-28T04:17:12Z","messageCount":3,"participants":["Steve Folly","Johannes Sixt","Uri Okrent"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"140711","messageId":"loom.20100501T215211-11@post.gmane.org","threadId":"23662","inReplyTo":null,"subject":"Revert hunk?","fromName":"Steve Folly","fromEmail":"steve@spfweb.co.uk","sentAt":"2010-05-01T19:54:38Z","receivedAt":"2010-05-01T19:54:38Z","isPatch":false,"sender":{"key":"steve@spfweb.co.uk","avatar":null},"body":"git gui has an option to revert changes, but that applies\nto the whole file. Is there an option to revert a line \nor hunk rather than the whole file?\n\nThanks,\nSteve\n"},{"id":"140714","messageId":"4BDC9F66.5090305@kdbg.org","threadId":"23662","inReplyTo":"loom.20100501T215211-11@post.gmane.org","subject":"Re: Revert hunk?","fromName":"Johannes Sixt","fromEmail":"j6t@kdbg.org","sentAt":"2010-05-01T21:38:46Z","receivedAt":"2010-05-01T21:38:46Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Am 01.05.2010 21:54, schrieb Steve Folly:\n> git gui has an option to revert changes, but that applies\n> to the whole file. Is there an option to revert a line\n> or hunk rather than the whole file?\n\nStage everything except that hunk or line, and then revert.\n\n-- Hannes\n"},{"id":"142481","messageId":"AANLkTinPrO25SnneENN6ryofn5mZ0a4CxqXSnXBbP2xO@mail.gmail.com","threadId":"23662","inReplyTo":"loom.20100501T215211-11@post.gmane.org","subject":"Re: Revert hunk?","fromName":"Uri Okrent","fromEmail":"uokrent@gmail.com","sentAt":"2010-05-28T04:17:12Z","receivedAt":"2010-05-28T04:17:12Z","isPatch":false,"sender":{"key":"uokrent@gmail.com","avatar":"https://gravatar.com/avatar/7788ed2d4f1bfefc11082b08b0234fd2d752113623753bda4a032a2ae9687acf?d=mp&s=160"},"body":"On Sat, May 1, 2010 at 12:54 PM, Steve Folly <steve@spfweb.co.uk> wrote:\n> git gui has an option to revert changes, but that applies\n> to the whole file. Is there an option to revert a line\n> or hunk rather than the whole file?\n\ncola has the ability to stage/revert on a per line basis:\n\nhttp://cola.tuxfamily.org/\n\n\n-- \n   Uri\n\nPlease consider the environment before printing this message.\nhttp://www.panda.org/how_you_can_help/\n"}]}