Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: optimize per-file history generation
[gitweb.git]
/
git-commit.sh
diff --git
a/git-commit.sh
b/git-commit.sh
index 7e50cf399b70a5ec26824f0bf5b5210dbe06aedc..22c4ce86c3cc5b35fab27bbe9e75dbe334f58534 100755
(executable)
--- a/
git-commit.sh
+++ b/
git-commit.sh
@@
-29,7
+29,7
@@
THIS_INDEX="$GIT_DIR/index"
NEXT_INDEX="$GIT_DIR/next-index$$"
rm -f "$NEXT_INDEX"
save_index () {
- cp "$THIS_INDEX" "$NEXT_INDEX"
+ cp
-p
"$THIS_INDEX" "$NEXT_INDEX"
}
report () {