Remove slashes from git-config command

These slashes were causing the branch to be saved in `.git/config` with headings
such as `[branch "\"pr/123\""]` as opposed to `[branch "pr/123"]`. This in turn
prevented these entries from being removed when running `git pr clean`.
This commit is contained in:
J.C. Yamokoski 2017-03-28 09:44:40 -04:00
parent 49771ba018
commit 6eb04bcca8

View file

@ -18,5 +18,5 @@ else
fi
git fetch -fu $remote refs/pull/$id/head:$branch && \
git checkout $branch && \
git config --local --replace branch.\"$branch\".merge refs/pull/$id/head && \
git config --local --replace branch.\"$branch\".remote $remote;
git config --local --replace branch.$branch.merge refs/pull/$id/head && \
git config --local --replace branch.$branch.remote $remote;