Handle 'git checkout' error gracefully
This commit is contained in:
parent
c447d7eb9d
commit
bfdc145d92
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ cd "${gitdir}"
|
|||
remote=$("${git}" remote | head -n1)
|
||||
if [ "$(git branch --show-current)" != "${branch}" ]; then
|
||||
change_branch "${remote}" "${branch}"
|
||||
echo "[-] Set filemode. This might take a while"
|
||||
echo "[-] Adjust filemode for new branch. This might take a while"
|
||||
doas -u root /bin/chmod -R "${mode}" "${gitdir}"
|
||||
fi
|
||||
set -x
|
||||
|
|
Loading…
Reference in a new issue