▲ 49 ▼ What's your commit message style? (lemmy.sdf.org) submitted 3 years ago by MariaRomanov@lemmy.sdf.org to c/programming@beehaw.org 57 comments fedilink hide all child comments Was digging through a project at work today where some guy in 2014 made 100+ commits in a single day and the only one that had a comment said "upgrading to v4.0".
[+] lucas@beehaw.org 17 points 3 years ago* (5 children) [deleted] permalink fedilink source hideshow 5 child comments replies: [–] CanadianNomad@beehaw.org 3 points 3 years ago (4 children) I feel like this might be a good case for LLMs.. Auto git commit suggestions based on the diff. permalink fedilink source parent hideshow 4 child comments replies: [–] tvbusy@lemmy.dbzer0.com 5 points 3 years ago There are already some attempts but I don't think it will work, harmful even. Best case scenario, the AI can understand the code as well as a senior engineer from another company. All they can know without the context is what was changed, which is useless. We need the reason why the commit was made, not what was changed. The info is not there in the first place for the AI to try to extract. permalink fedilink source parent [–] beretis@mastodon.online 3 points 3 years ago @CanadianNomad @lucas Awesome idea, yeah I can totally see that working well :) permalink fedilink source parent [+] lucas@beehaw.org 2 points 3 years ago (1 child) [deleted] permalink fedilink source parent hideshow 1 child comment replies: [–] CanadianNomad@beehaw.org 1 point 3 years ago* If it does, I haven't seen it.. I'd be happy to test drive it. permalink fedilink source parent
[–] CanadianNomad@beehaw.org 3 points 3 years ago (4 children) I feel like this might be a good case for LLMs.. Auto git commit suggestions based on the diff. permalink fedilink source parent hideshow 4 child comments replies: [–] tvbusy@lemmy.dbzer0.com 5 points 3 years ago There are already some attempts but I don't think it will work, harmful even. Best case scenario, the AI can understand the code as well as a senior engineer from another company. All they can know without the context is what was changed, which is useless. We need the reason why the commit was made, not what was changed. The info is not there in the first place for the AI to try to extract. permalink fedilink source parent [–] beretis@mastodon.online 3 points 3 years ago @CanadianNomad @lucas Awesome idea, yeah I can totally see that working well :) permalink fedilink source parent [+] lucas@beehaw.org 2 points 3 years ago (1 child) [deleted] permalink fedilink source parent hideshow 1 child comment replies: [–] CanadianNomad@beehaw.org 1 point 3 years ago* If it does, I haven't seen it.. I'd be happy to test drive it. permalink fedilink source parent
[–] tvbusy@lemmy.dbzer0.com 5 points 3 years ago There are already some attempts but I don't think it will work, harmful even. Best case scenario, the AI can understand the code as well as a senior engineer from another company. All they can know without the context is what was changed, which is useless. We need the reason why the commit was made, not what was changed. The info is not there in the first place for the AI to try to extract. permalink fedilink source parent
[–] beretis@mastodon.online 3 points 3 years ago @CanadianNomad @lucas Awesome idea, yeah I can totally see that working well :) permalink fedilink source parent
[+] lucas@beehaw.org 2 points 3 years ago (1 child) [deleted] permalink fedilink source parent hideshow 1 child comment replies: [–] CanadianNomad@beehaw.org 1 point 3 years ago* If it does, I haven't seen it.. I'd be happy to test drive it. permalink fedilink source parent
[–] CanadianNomad@beehaw.org 1 point 3 years ago* If it does, I haven't seen it.. I'd be happy to test drive it. permalink fedilink source parent