Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix -{un,}install-merge-drivers when using a git worktree (#67865)

Rodrigo López Dato343ae8d2132a
diff --git a/bb.edn b/bb.edn
index e3411162029..58b94d041bd 100644
--- a/bb.edn
+++ b/bb.edn
@@ -317,7 +317,7 @@
:requires [[mage.util :as u]
[clojure.string :as str]]
:task (task!
- (let [git-dir (u/sh "git rev-parse --git-dir")
+ (let [git-dir (u/sh "git rev-parse --git-common-dir")
git-config-file (str git-dir "/config")
the-include (str "\n"
"[include]\n"
@@ -332,7 +332,7 @@
:requires [[clojure.string :as str]
[mage.util :as u]]
:task (task!
- (let [git-dir (u/sh "git rev-parse --git-dir")
+ (let [git-dir (u/sh "git rev-parse --git-common-dir")
git-config-file (str git-dir "/config")
the-include (str "\n"
"[include]\n"