{"thread":{"id":"11119","subject":"committing only selected diff's of a file","startedAt":"2007-12-03T10:03:17Z","lastAt":"2007-12-03T16:00:26Z","messageCount":4,"participants":["Erik Colson","Miklos Vajna","Jakub Narebski","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"61767","messageId":"4753D465.10802@ecocode.net","threadId":"11119","inReplyTo":null,"subject":"committing only selected diff's of a file","fromName":"Erik Colson","fromEmail":"eco@ecocode.net","sentAt":"2007-12-03T10:03:17Z","receivedAt":"2007-12-03T10:03:17Z","isPatch":false,"sender":{"key":"eco@ecocode.net","avatar":"https://gravatar.com/avatar/49c3fa7fa68eb4dc97ad0bcf6ca1bafb4bba97d03d9553830b5cf27adcf43539?d=mp&s=160"},"body":"Hello,\n\nDoes Git allow to commit only selected patches from inside 1 file ?\nI'm coming from a darcs world where this is supported...\nProbably it is supported in Git too, but I can't figure out how :-/\n\nThanks for help\n-- \nErik\n"},{"id":"61769","messageId":"20071203110748.GZ31750@genesis.frugalware.org","threadId":"11119","inReplyTo":"4753D465.10802@ecocode.net","subject":"Re: committing only selected diff's of a file","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2007-12-03T11:07:48Z","receivedAt":"2007-12-03T11:07:48Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Mon, Dec 03, 2007 at 11:03:17AM +0100, Erik Colson <eco@ecocode.net>\nwrote:\n> Does Git allow to commit only selected patches from inside 1 file ?\n> I'm coming from a darcs world where this is supported...\n> Probably it is supported in Git too, but I can't figure out how :-/\n\ngit add -i\n\n(i also wrote a wrapper for people who come from darcs:\nhttp://git.frugalware.org/repos/pacman-tools/darcs-git.py\nbut it contains many hacks so i don't want to advertise it too much as\nothers on this list will burn me :) )\n\n- VMiklos\n"},{"id":"61770","messageId":"m3tzn0uj9s.fsf@roke.D-201","threadId":"11119","inReplyTo":"4753D465.10802@ecocode.net","subject":"Re: committing only selected diff's of a file","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-12-03T11:09:41Z","receivedAt":"2007-12-03T11:09:41Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Erik Colson <eco@ecocode.net> writes:\n\n> Does Git allow to commit only selected patches from inside 1 file ?\n> I'm coming from a darcs world where this is supported...\n> Probably it is supported in Git too, but I can't figure out how :-/\n\nUse \"git add --interactive\" or \"git gui\" (the latter requires Tcl/Tk).\n\n-- \nJakub Narebski\n"},{"id":"61783","messageId":"vpqd4tnn4yt.fsf@bauges.imag.fr","threadId":"11119","inReplyTo":"m3tzn0uj9s.fsf@roke.D-201","subject":"Re: committing only selected diff's of a file","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@imag.fr","sentAt":"2007-12-03T16:00:26Z","receivedAt":"2007-12-03T16:00:26Z","isPatch":false,"sender":{"key":"git@matthieu-moy.fr","avatar":"https://avatars.githubusercontent.com/u/14709?v=4"},"body":"Jakub Narebski <jnareb@gmail.com> writes:\n\n> \"git gui\" (the latter requires Tcl/Tk).\n\n... Right click on a patch hunk, \"stage for commit\".\n\n-- \nMatthieu\n"}]}