{"thread":{"id":"26788","subject":"The way to make work with git a bit more easier.","startedAt":"2011-03-19T12:20:12Z","lastAt":"2011-03-21T12:33:30Z","messageCount":3,"participants":["Alexey Homyakov","Nguyen Thai Ngoc Duy","Michael J Gruber"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"163743","messageId":"AANLkTimrYGXQ_wWrj-Sr3UB9YbddW613oebddUoLat7b@mail.gmail.com","threadId":"26788","inReplyTo":null,"subject":"The way to make work with git a bit more easier.","fromName":"Alexey Homyakov","fromEmail":"alexey.homyakov@gmail.com","sentAt":"2011-03-19T12:20:12Z","receivedAt":"2011-03-19T12:20:12Z","isPatch":false,"sender":{"key":"alexey.homyakov@gmail.com","avatar":null},"body":"Hi, guys, i'm enjoy to work with git, but think it's possibly to make\none of the operation more easier.\nWhat do you mean about mark a parts of files which don't need to be\ntracked by git once instead using interactive adding each time?\nFor example using statement in comments like this:\n\n................\ntracked part\n...............\n//@git off\n...............\nuntracked part\n...............\n//@git on\n................\ntrack again\n................\n\n\nIt's easy to make git understand all possibly comments definitions.\n\nThanx.\n\n-- \nС уважением,\nАлексей.\n"},{"id":"163744","messageId":"AANLkTik3_tE6DdCQkS5ssqB9OBBNSvj5KO3WK=0Vj4YG@mail.gmail.com","threadId":"26788","inReplyTo":"AANLkTimrYGXQ_wWrj-Sr3UB9YbddW613oebddUoLat7b@mail.gmail.com","subject":"Re: The way to make work with git a bit more easier.","fromName":"Nguyen Thai Ngoc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2011-03-19T12:30:40Z","receivedAt":"2011-03-19T12:30:40Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"2011/3/19 Alexey Homyakov <alexey.homyakov@gmail.com>:\n> Hi, guys, i'm enjoy to work with git, but think it's possibly to make\n> one of the operation more easier.\n> What do you mean about mark a parts of files which don't need to be\n> tracked by git once instead using interactive adding each time?\n> For example using statement in comments like this:\n>\n> ................\n> tracked part\n> ...............\n> //@git off\n> ...............\n> untracked part\n> ...............\n> //@git on\n> ................\n> track again\n> ................\n\nThat's interesting, provided that this is only enabled by command\nargument (i.e. never activated by default). Another option is to make\n\"git add -p\" only show chunks that match a pattern.\n-- \nDuy\n"},{"id":"163903","messageId":"4D87459A.1040307@drmicha.warpmail.net","threadId":"26788","inReplyTo":"AANLkTik3_tE6DdCQkS5ssqB9OBBNSvj5KO3WK=0Vj4YG@mail.gmail.com","subject":"Re: The way to make work with git a bit more easier.","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2011-03-21T12:33:30Z","receivedAt":"2011-03-21T12:33:30Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Nguyen Thai Ngoc Duy venit, vidit, dixit 19.03.2011 13:30:\n> 2011/3/19 Alexey Homyakov <alexey.homyakov@gmail.com>:\n>> Hi, guys, i'm enjoy to work with git, but think it's possibly to make\n>> one of the operation more easier.\n>> What do you mean about mark a parts of files which don't need to be\n>> tracked by git once instead using interactive adding each time?\n>> For example using statement in comments like this:\n>>\n>> ................\n>> tracked part\n>> ...............\n>> //@git off\n>> ...............\n>> untracked part\n>> ...............\n>> //@git on\n>> ................\n>> track again\n>> ................\n> \n> That's interesting, provided that this is only enabled by command\n> argument (i.e. never activated by default). Another option is to make\n> \"git add -p\" only show chunks that match a pattern.\n\nThis can be done using a \"clean\" filter already. For example, for\ntracking my global git configuration, I use\n\n[filter \"dotgitk\"]\n        clean = fgrep -v geometry\n\nand specify\n\n.gitk   filter=dotgitk\n\nfor the attributes.\n\nCheers,\nMichael\n"}]}