This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][UTILS] Stash including untracked in nfc-check-setup
ClosedPublic

Authored by Amir on Aug 24 2022, 2:26 PM.

Details

Summary

The command to detect whether the stash is needed is git status --porcelain
which includes untracked files by default. We want to stash untracked files
as well as they may affect compilation (LLVM CMake checks that all source files
should be included in CMakeLists).

Update the stash command to include untracked files as well.

Diff Detail

Event Timeline

Amir created this revision.Aug 24 2022, 2:26 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir requested review of this revision.Aug 24 2022, 2:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 2:26 PM
This revision is now accepted and ready to land.Aug 25 2022, 6:40 PM
This revision was automatically updated to reflect the committed changes.