diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-29 23:47:59 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-29 23:47:59 -0700 |
commit | 93326071ea84a7685783ae76d9a8cec0a11845d0 (patch) | |
tree | 7b6bca43f70e4e420cbe5e9b1f2a5c247a056e9f | |
parent | Do not try futile object pairs when repacking. (diff) | |
parent | Racy GIT (part #3) (diff) | |
download | tgif-93326071ea84a7685783ae76d9a8cec0a11845d0.tar.xz |
Merge branch 'jc/test-3402'
* jc/test-3402:
Racy GIT (part #3)
-rwxr-xr-x | git-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-commit.sh b/git-commit.sh index 7e50cf399b..22c4ce86c3 100755 --- 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 () { |