Created attachment 1901 git support for xdt-commit Here's a patch to add git support to xdt-commit. It works, though it's not quite so pretty. What do you think?
MSG=$(git diff "${CHANGELOG}") in line 100 won't work. It has to be either MSG=$(git diff --cached "${CHANGELOG}") or MSG=$(git diff HEAD "${CHANGELOG}") Other than that this looks just fine.
Cool, thanks. Checked in using HEAD; I want it to work properly regardless of whether or not the changelog has been "git add"ed or not after modifications.
Yes, HEAD is the better of the two solutions.