mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 10:41:18 -08:00
Fix: Install - Powershell's stash
This commit is contained in:
parent
e495a2b144
commit
fd7dde3efe
1 changed files with 2 additions and 2 deletions
|
|
@ -889,7 +889,7 @@ function Stash-File() {
|
|||
)
|
||||
|
||||
if ( "$(git --git-dir "${gitDir}" --work-tree "${leptonDir}" diff --stat)" -ne '' ) {
|
||||
git --git-dir "${gitDir}" --work-tree "${leptonDir}" checkout stash
|
||||
git --git-dir "${gitDir}" --work-tree "${leptonDir}" stash
|
||||
return $true
|
||||
}
|
||||
return $false
|
||||
|
|
@ -905,7 +905,7 @@ function Restore-File() {
|
|||
)
|
||||
|
||||
if ( "${gitDirty}" -eq $true ) {
|
||||
git --git-dir "${gitDir}" --work-tree "${leptonDir}" checkout stash pop --quiet
|
||||
git --git-dir "${gitDir}" --work-tree "${leptonDir}" stash pop --quiet
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue