Skip to content

Commit

Permalink
Minor fix to branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
jstayco committed Apr 1, 2023
1 parent 69deea0 commit 14dc16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ update_kohya_ss() {
fi

if [ "$MANUAL_BRANCH_SWITCH" = false ]; then
git -C "$DIR" switch "$BRANCH" >&3
git -C "$DIR" switch "$(git rev-parse --abbrev-ref HEAD)" >&3
else
if ! git -C "$DIR" switch "$BRANCH" >&4; then
echo "Branch $BRANCH did not exist. Creating it." >&4
Expand Down

0 comments on commit 14dc16c

Please sign in to comment.