projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] git-diff-cache: handle pathspec beginning with a dash
[git.git]
/
git-commit-script
diff --git
a/git-commit-script
b/git-commit-script
index
42ee399
..
e818d0a
100755
(executable)
--- a/
git-commit-script
+++ b/
git-commit-script
@@
-10,4
+10,4
@@
grep -v '^#' < .editmsg | git-stripspace > .cmitmsg
[ -s .cmitmsg ] || exit 1
tree=$(git-write-tree) || exit 1
commit=$(cat .cmitmsg | git-commit-tree $tree -p HEAD) || exit 1
-echo $commit >
.git
/HEAD
+echo $commit >
${GIT_DIR:-.git}
/HEAD