Set filemode to tree when statting directories for index entries
Added ggit_index_entry_set_commit