this post was submitted on 10 Jan 2025
55 points (96.6% liked)

Git

2960 readers
1 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 2 years ago
MODERATORS
 

Hey! I've just released todo-md v1 πŸš€. Keep your tasks organized with todo-md!

The pre-commit hook automatically maintains a TODO.md file by scanning your staged files for TODO: comments. You do not need complicated task trackers bloated with features anymore:) Let your code speak for itself!

Get it now: https://codeberg.org/lig/todo-md

#TODOmd #DevTools #PreCommit #Automation #OpenSource #Git #Todo​

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 6 days ago

@lig that looks neat!

[–] [email protected] 16 points 1 week ago (1 children)

But when I put @todo in my code, the point is to never revisit it. I don't want to be reminded every time I open the repo!

[–] [email protected] 5 points 1 week ago (1 children)

This one isn't for you then :)

[–] [email protected] 6 points 1 week ago

Haha, nice work on it tho.

[–] [email protected] 6 points 1 week ago

That's actually pretty neat

[–] [email protected] 5 points 1 week ago (1 children)

excellent! i can now remove my eternal TODO to write this myself :D

[–] [email protected] 3 points 1 week ago

You're welcome:)

[–] [email protected] 5 points 1 week ago (1 children)

Maybe you want to scan for FIXME: too?

[–] [email protected] 2 points 1 week ago (1 children)

That could be an option. Care to fill an issue?:)

[–] [email protected] 3 points 1 week ago (2 children)

https://codeberg.org/lig/todo-md/issues/4

I didn't create one because I won't be using the project, but suggested it here for your consideration. :)

Outside of work-in-progress or exploration branches, I don't commit or merge TODOs. Typically, I consider them merge/land blockers. Because most of the time, they're never resolved. And in that case, I much prefer documentation and statements; reasoning of why it is the way it is, or opportunities.

[–] [email protected] 2 points 6 days ago

In projects I work on we use NOCOMMIT for these blockers and they'll fail the build. It's honestly lovely to have something to leave yourself a note that the build catches for you.

[–] [email protected] 1 points 1 week ago

a TODO can often be expressed in a throw NotImplementedError or similar, but a comment is where danger lies

[–] Kalcifer 3 points 1 week ago