Skip to content

Conversation

@naserca
Copy link
Contributor

@naserca naserca commented Feb 9, 2026

To make this safe, git.ex's lock_status no longer uses File.cd! (which mutates global process state), instead passing the :cd into System.cmd.

This is a meaningful performance improvement on our app with ~25 ref deps and hundreds of deps in total, cutting about 400ms off of every mix task.

To make this safe, git.ex's lock_status no longer uses File.cd!
(which mutates global process state), instead passing the `:cd` into System.cmd.
@josevalim josevalim merged commit f2e6d6a into elixir-lang:main Feb 9, 2026
11 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants