Commits

Anonymous committed 9332607 Merge

Merge branch 'jc/test-3402'

* jc/test-3402:
Racy GIT (part #3)

Comments (0)

Files changed (1)

 NEXT_INDEX="$GIT_DIR/next-index$$"
 rm -f "$NEXT_INDEX"
 save_index () {
-	cp "$THIS_INDEX" "$NEXT_INDEX"
+	cp -p "$THIS_INDEX" "$NEXT_INDEX"
 }
 
 report () {