This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 094a68e  Silence detached head warnings
094a68e is described below

commit 094a68e067bb2fa66b461bb2714891ea892777f0
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Feb 6 18:37:16 2018 +0200

    Silence detached head warnings
---
 generate_javadoc_for_release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generate_javadoc_for_release.sh b/generate_javadoc_for_release.sh
index 5408b7a..ad8db7a 100755
--- a/generate_javadoc_for_release.sh
+++ b/generate_javadoc_for_release.sh
@@ -52,7 +52,7 @@ for artifact in $artifacts; do
             fi
         fi
         echo "Exporting $artifact from source control"
-        git clone https://github.com/apache/${artifact_repo} --branch 
${branch_name} ${WORKDIR}/${artifact_dir}
+        git -c advice.detachedHead=false clone 
https://github.com/apache/${artifact_repo} --branch ${branch_name} 
${WORKDIR}/${artifact_dir}
         if [ -f patches/$artifact ]; then
             echo "Applying patch"
             pushd $WORKDIR/$artifact_dir

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to