mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 21:15:24 +00:00
Go back to standard stash, is safe after all
This commit is contained in:
parent
537c4e0618
commit
10c136fc67
@ -1 +1 @@
|
|||||||
Subproject commit 6a88a95ffd4ea6cb4f9eaa7b8f8dd33d23959b0b
|
Subproject commit 314d74f405b52327e2c7120312b69768dcc399fc
|
@ -61,8 +61,7 @@ try {
|
|||||||
Write-Output "Changes present, would have run 'git stash push'"
|
Write-Output "Changes present, would have run 'git stash push'"
|
||||||
} else {
|
} else {
|
||||||
Write-Output "Working copy has changes, saving them in stash"
|
Write-Output "Working copy has changes, saving them in stash"
|
||||||
# Use our "LFS safe"
|
git stash push -q -m "Saved changes during Get Latest"
|
||||||
&"$PSScriptRoot/GitScripts/git-lfs-safe-stash.ps1" push -q -m "Saved changes during Get Latest"
|
|
||||||
if ($LASTEXITCODE -ne 0) {
|
if ($LASTEXITCODE -ne 0) {
|
||||||
Write-Output "ERROR: git stash push failed, aborting"
|
Write-Output "ERROR: git stash push failed, aborting"
|
||||||
exit 5
|
exit 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user