{"thread":{"id":"30113","subject":"Re: [GSOC][HELP] Incremental blame in gitweb.","startedAt":"2012-03-30T21:06:56Z","lastAt":"2012-03-30T21:33:48Z","messageCount":2,"participants":["Jakub Narebski","jaseem abid"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"188219","messageId":"CAH-tXsDHJ98LLcHVs5U-OYS1maKoM+sDn6hw5HeD6c6wZ8mBHQ@mail.gmail.com","threadId":"30113","inReplyTo":null,"subject":"[GSOC][HELP] Incremental blame in gitweb.","fromName":"jaseem abid","fromEmail":"jaseemabid@gmail.com","sentAt":"2012-03-30T21:06:56Z","receivedAt":"2012-03-30T21:06:56Z","isPatch":false,"sender":{"key":"jaseemabid@gmail.com","avatar":"https://gravatar.com/avatar/8b0432c96e4d3c8a9a96c9961ee842df7b7a869744da9c25187a51a992eabd81?d=mp&s=160"},"body":"Hello again,\n\nI was learning from the gitweb source code and I am a bit stuck at a\nparticular point.\nWhat does incremental blame do in gitweb? I tried to get some\ninformation from the documentation.\nI was expecting it to be used for pagination of huge git-blame output\nor something similar. Doc says it can be used for similar purposes\nI notice code written in JavaScript for AJAX calls etc, but i cant\nfind a place where it is being used. Can somebody give me a link to\none in k.org or somewhere for a demo? I tried to find some AJAX calls\nin the web console but cant trace any. I'm a bit confused here.\n\nAny help will be very much appreciated.\n\n\n-- \nJaseem Abid\n+91 8891 72 43 72\nS6 CSE student\nNational Institute of Technology , Calicut.\n"},{"id":"188211","messageId":"201203302333.48770.jnareb@gmail.com","threadId":"30113","inReplyTo":"CAH-tXsDHJ98LLcHVs5U-OYS1maKoM+sDn6hw5HeD6c6wZ8mBHQ@mail.gmail.com","subject":"Re: [GSOC][HELP] Incremental blame in gitweb.","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2012-03-30T21:33:48Z","receivedAt":"2012-03-30T21:33:48Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"On Fri, 30 Mar 2012, jaseem abid wrote:\n\n> I was learning from the gitweb source code and I am a bit stuck at a\n> particular point.\n> What does incremental blame do in gitweb? I tried to get some\n> information from the documentation.\n> I was expecting it to be used for pagination of huge git-blame output\n> or something similar. Doc says it can be used for similar purposes\n> I notice code written in JavaScript for AJAX calls etc, but i cant\n> find a place where it is being used. Can somebody give me a link to\n> one in k.org or somewhere for a demo? I tried to find some AJAX calls\n> in the web console but cant trace any. I'm a bit confused here.\n> \n> Any help will be very much appreciated.\n\nThe 'incremental_blame' view should produce the same output as ordinary\n'blame' view, but in different way (using JavaScript and Ajax, and\n\"git blame --incremental\").\n\nWith the ordinary 'blame' view we have to wait for the blame data to be\ngenerated in full for the whole file (on server) before we get the view.\nThis can take quite a while (and that is why 'blame' feature is disabled\nby default).\n\nThe Ajax-y 'incremental_blame' view gets the contents of the file from\n\"git cat-file blob <blob-id>\" and shows it to web browser, then adds\nblame view incrementally, from the most recent blame to most ancient,\ncalling \"git blame --incremental\" and getting its response via XHR,\nand repainting contents of file with blame data.\n\n\nYou can run gitweb by yourself, for example using git-instaweb script\n(I think it enables all features by default).\n\nHTH\n-- \nJakub Narebski\nPoland\n"}]}