# Fix \`\-M\` and \`\-\-dep\` splitting on every = instead of just the first · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/76e2764eb1405eabe53b10bccdde7684432c4596)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 76e2764eb1405eabe53b10bccdde7684432c4596

Requested commit: 76e2764eb1405eabe53b10bccdde7684432c4596

Commit: 76e2764eb1405eabe53b10bccdde7684432c4596

Tree: 9d767e581d7a01e6d07e93eaebccceab35ca744d

Author: Ryan Liptak

Committer: Alex Rønne Petersen

## Message

```
Fix `-M` and `--dep` splitting on every = instead of just the first

Before this commit, -Mfoo=bar=baz would be incorrectly split into mod_name: `foo` and root_src_orig: `bar`
After this commit, -Mfoo=bar=baz will be correctly split into mod_name: `foo` and root_src_orig: `bar=baz`

Closes #25059

```

## Parents

- [dcddbcaa604d9228caddea7b2cd2668bf392149f](https://git.cafe/gitcafe/zig/commit/dcddbcaa604d9228caddea7b2cd2668bf392149f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/76e2764eb1405eabe53b10bccdde7684432c4596?format=markdown)
