2 git-status-script
> .editmsg
11 grep -v '^#' < .editmsg | git-stripspace
> .cmitmsg
12 [ -s .cmitmsg
] ||
exit 1
13 tree
=$
(git-write-tree
) ||
exit 1
14 commit
=$
(cat .cmitmsg | git-commit-tree
$tree -p HEAD
) ||
exit 1
15 echo $commit > .git
/HEAD