changing git diff after changes were committed
This commit is contained in:
parent
b5d0ad3445
commit
f588cdf43d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if ($projects -eq "default") {
|
|||
# These are the default projects for windows
|
||||
$LLVM_ENABLE_PROJECTS="clang;clang-tools-extra;libcxx;libc;lld;mlir;libcxxabi"
|
||||
} elseif ($projects -eq "detect") {
|
||||
$LLVM_ENABLE_PROJECTS = (git diff | python ${PSScriptRoot}\choose_projects.py . ) | Out-String
|
||||
$LLVM_ENABLE_PROJECTS = (git diff HEAD~1 | python ${PSScriptRoot}\choose_projects.py . ) | Out-String
|
||||
$LLVM_ENABLE_PROJECTS = $LLVM_ENABLE_PROJECTS.replace("`n","").replace("`r","")
|
||||
if ($LLVM_ENABLE_PROJECTS -eq "") {
|
||||
Write-Error "Error detecting the affected projects."
|
||||
|
|
Loading…
Reference in a new issue