Skip to content
Snippets Groups Projects
Commit efb9f8bb authored by Michael Vines's avatar Michael Vines
Browse files

Abort prior failed git-am patch attempts

Change-Id: I3b84deb630568d8595fe876df65616f6622639ca
parent ae91b972
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,9 @@ __patch_tree()
git branch b2g_autogen_ephemeral_branch && \
git checkout b2g_autogen_ephemeral_branch \
)
if [[ -d .git/rebase-apply ]]; then
git am --abort
fi
else
read -p "Project $1 is not managed by git. Modify anyway? [y/N] "
if [[ ${REPLY} != "y" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment