Commit 245adf4f3cc1d47352e626ef53372d07761d84cf

Kirill A. Shutemov 2011-07-02T01:08:42

index: introduce git_index_uniq() function It removes all entries with equal path except last added. On large indexes git_index_append() + git_index_uniq() before writing is *much* faster, than git_index_add(). Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>