Merge branch 'jc/test-3402'

* jc/test-3402:
  Racy GIT (part #3)
This commit is contained in:
Junio C Hamano 2006-06-29 23:47:59 -07:00
commit 93326071ea

View File

@ -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 () {