Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

patch.sh: for checkout in case of unclean trees

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
commit 9c6d0f5c2b58f78ef468824ddc318dd76d898f7d 1 parent b104ef6
@koenkooi koenkooi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  patch.sh
View
2  patch.sh
@@ -55,7 +55,7 @@ git branch -D tmp-patching-branch-sha &>/dev/null || true
#Do we have the tag?
git tag | grep ${TAG} | grep -v rc >/dev/null || git_pull_torvalds
-git checkout ${TAG} -b tmp-patching-branch
+git checkout -f ${TAG} -b tmp-patching-branch
if [ "${EXTERNAL_TREE}" ] ; then
#we are pulling the external tree into 1st branch, and checkout the SHA into a 2nd,
Please sign in to comment.
Something went wrong with that request. Please try again.