git notes and git-commit
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Dec 10, 2010, 13:11 UTC
- Message-ID
- <AANLkTi=q1F7WEgH+dLKTHOKhsNVuhU=OeyJ2AsP7oW2G@mail.gmail.com>
Hi,
I have never used git-notes before, just have had a quick look over git-notes.txt so this may have already been discussed.
Isn't it more convenient to write/update notes when editing commit message? Jakub mentioned of "---" in the archive elsewhere. There's notes.rewriteRef for commit --amend. But if I amend a commit, I might as well change my notes. rewriteRef would not work with "git commit -c" either.
Another (probably silly) thing. Can I temporarily attach notes to HEAD? I could add up notes while working, the notes show up when I edit for commit message. I could make revise the notes a bit and commit. Then the notes are attached to a commit.
-- Duy