Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Speed improvement patch for __git_files and __git_files_relative



Hi!

I’ve now put together a patch for __git_files and
__git_files_relative.  __git_files is a lot faster than previous
versions and __git_files_relative should be a lot faster too, now that
it only uses substitutions.  (Well, there’s a for loop that iterates
over the file names to determine the common path prefix, but I see no
way of avoiding it.)

It would be great if this could make it into the 4.3.12 release, so
please give it a try as soon as possible.

Attachment: __git_files.patch
Description: Binary data



Messages sorted by: Reverse Date, Date, Thread, Author