Commit c1a2a14e022caae68112497f5e6862f9b59f1260

Jakob Pfender 2011-05-25T16:16:41

index: Correctly write entry mode The entry mode flags for an entry created from a path name were not correctly written if the entry was a symlink. The st_mode of a statted symlink is 0120777, however git requires the mode to read 0120000, because it does not care about permissions of symlinks. Introduce index_create_mode() that correctly writes the mode flags in the form expected by git.