mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Install - Git quiet option
This commit is contained in:
parent
b1bd85d869
commit
4221cee30a
2 changed files with 4 additions and 4 deletions
|
|
@ -740,7 +740,7 @@ function Apply-CustomFile() {
|
|||
Copy-Item -Path "${customFile}" -Destination "${targetPath}" -Force
|
||||
}
|
||||
else {
|
||||
git --git-dir "${gitDir}" --quiet checkout HEAD -- "${targetPath}"
|
||||
git --git-dir "${gitDir}" checkout HEAD -- "${targetPath}"
|
||||
}
|
||||
}
|
||||
if ( "${customAppend}" -eq $true ) {
|
||||
|
|
@ -894,7 +894,7 @@ function Restore-File() {
|
|||
)
|
||||
|
||||
if ( "${gitDirty}" -eq $true ) {
|
||||
git --git-dir "${gitDir}" checkout stash pop
|
||||
git --git-dir "${gitDir}" checkout stash pop --quiet
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -712,7 +712,7 @@ apply_custom_file() {
|
|||
if [[ "${targetPath}" == *"user.js" ]]; then
|
||||
\cp -f "${profilePath}/chrome/user.js" "${targetPath}"
|
||||
else
|
||||
git --git-dir "${gitDir}" --quiet checkout HEAD -- "${targetPath}"
|
||||
git --git-dir "${gitDir}" checkout HEAD -- "${targetPath}"
|
||||
fi
|
||||
fi
|
||||
if [ "${customAppend}" == "true" ]; then
|
||||
|
|
@ -852,7 +852,7 @@ file_restore() {
|
|||
local gitDir=$1
|
||||
local gitDirty=$2
|
||||
if [ -n "${gitDirty}" ]; then
|
||||
git --git-dir "${gitDir}" --quiet stash pop
|
||||
git --git-dir "${gitDir}" stash pop --quiet
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue