flutteractionsbot b1b9dee132
[CP-beta]Unset GIT_DIR and other variables before updating (#165841)
This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

### Issue Link:

When the `GIT_DIR` environment variable is set; the flutter tool will lose track of engine artifacts.

https://github.com/flutter/flutter/issues/165390

### Changelog Description:

#165390: fix flutter tool finding engine artifacts in special cases where `GIT_DIR` is defined.

### Impact Description:

No impact on apps.

### Workaround:

Unset the environment variable `GIT_DIR` before calling flutter tooling.

### Risk:

### Test Coverage:

### Validation Steps:

Define `GIT_DIR` before this chage and see the flutter tool loses the engine artifacts. After this change it operates correctly.
2025-04-08 19:26:20 +00:00
..
2025-02-27 19:38:00 +00:00
2025-02-27 19:38:00 +00:00
2025-02-11 23:47:59 +00:00
2025-02-27 19:38:00 +00:00