[PATCH] D132610: [BOLT][UTILS] Stash including untracked in nfc-check-setup

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 19:12:53 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG62a034cc14ad: [BOLT][UTILS] Stash including untracked in nfc-check-setup (authored by Amir).
Herald added a subscriber: treapster.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132610/new/

https://reviews.llvm.org/D132610

Files:
  bolt/utils/nfc-check-setup.py


Index: bolt/utils/nfc-check-setup.py
===================================================================
--- bolt/utils/nfc-check-setup.py
+++ bolt/utils/nfc-check-setup.py
@@ -59,7 +59,7 @@
                            text=True).stdout
     if stash:
         # save local changes before checkout
-        subprocess.run(shlex.split("git stash"), cwd=source_dir)
+        subprocess.run(shlex.split("git stash push -u"), cwd=source_dir)
     # check out the previous commit
     subprocess.run(shlex.split("git checkout -f HEAD^"), cwd=source_dir)
     # get the parent commit hash for logging


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132610.456075.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220827/8de7f20e/attachment.bin>


More information about the llvm-commits mailing list