diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-30 10:47:59 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-30 10:47:59 +0400 |
commit | 93326071ea84a7685783ae76d9a8cec0a11845d0 (patch) | |
tree | 7b6bca43f70e4e420cbe5e9b1f2a5c247a056e9f | |
parent | 51d1e83f91a16363930023a5c39f79f270c04653 (diff) | |
parent | cc7d5bcf006e92d554cae0aefc9d8681d4659dce (diff) |
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 () { |