diff options
author | Renato Golin <renato.golin@linaro.org> | 2017-05-10 21:02:04 +0100 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2017-05-10 21:02:04 +0100 |
commit | 1e89d6d7faf49c8e775d7ff3a0f00615e7d72095 (patch) | |
tree | 94ddd58ed3c795cf2e9b4697e67977000d5a97d3 /tcwg-llvm-common.sh | |
parent | f748f46846a6613134774344c637ca271bfe15a4 (diff) |
tcwg-llvm-common.sh: Try another of Maxim's proposals to deal with the checkout problem
Change-Id: I0d4bd207c9f278539e7be48e86b3047a1f012242
Diffstat (limited to 'tcwg-llvm-common.sh')
-rwxr-xr-x | tcwg-llvm-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-common.sh b/tcwg-llvm-common.sh index c889256b..f77d51f1 100755 --- a/tcwg-llvm-common.sh +++ b/tcwg-llvm-common.sh @@ -59,7 +59,7 @@ update_git() { # We don't need to create a branch with the commit, as the clones are new # Should be ok to stay in a detached head state for this purpose hash=$("$BASEDIR/svn-git-hash.pl" "$BASE" "$REV" | awk '{print $2}') - git checkout "$hash" + git checkout --detach "$hash" } # Find the SVN revision of a git-svn repository |