Changeset: d6e7f6fcb9cb for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d6e7f6fcb9cb
Modified Files:
        buildtools/conf/Maddlog
Branch: default
Log Message:

Maddlog works just fine in a git worktree


diffs (14 lines):

diff --git a/buildtools/conf/Maddlog b/buildtools/conf/Maddlog
--- a/buildtools/conf/Maddlog
+++ b/buildtools/conf/Maddlog
@@ -74,10 +74,6 @@ vcs_current_branch() {
     if [[ "$vcs_kind" == "hg" ]] ; then
         tag=$(hg branch)
     else
-        if [[ ! -d "$root_dir/.git" ]] ; then
-            echo "Cannot use this script in a git worktree" >&2
-            exit 2
-        fi
         tag=$(git rev-parse --abbrev-ref HEAD)
         tag=${tag#branches/}
         if [[ "$tag" == "master" ]] ; then
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to