←back to thread

577 points Delgan | 3 comments | | HN request time: 0.645s | source
1. remram ◴[] No.44347672[source]
In practice I get a lot of value out of referencing commit hashes. If I fix a problem I introduced in a previous commit (for example, commit bumped version, and I forgot to bump it somewhere), my fix will say "amends ab12cd34".

That way when I need to cherry-pick that commit, or do something similar (bump again), I can search for the hash of the commit I'm looking at to find what might be missing.

UI is worse than git-notes but no need for additional setup to sync them.

replies(1): >>44348133 #
2. codesnik ◴[] No.44348133[source]
you kinda doing by hand what git commit --fixup could do for you, and what git rebase -i could pick up automatically.
replies(1): >>44351485 #
3. remram ◴[] No.44351485[source]
Rebasing doesn't work in collaborative situations.

And if not rebasing, since --fixup does not include the hash only the commit message, it's bad for this.