summaryrefslogtreecommitdiff
path: root/Omni/Ide/hooks/post-checkout
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Ide/hooks/post-checkout')
-rwxr-xr-xOmni/Ide/hooks/post-checkout6
1 files changed, 6 insertions, 0 deletions
diff --git a/Omni/Ide/hooks/post-checkout b/Omni/Ide/hooks/post-checkout
index 85541a2..3fe14b5 100755
--- a/Omni/Ide/hooks/post-checkout
+++ b/Omni/Ide/hooks/post-checkout
@@ -14,6 +14,12 @@ elif [[ ${#changed[@]} -gt 0 ]]
then
MakeTags "${changed[@]}"
fi
+
+# Task manager: Import tasks after branch switch
+if [ -f .tasks/tasks.jsonl ]; then
+ task import -i .tasks/tasks.jsonl 2>/dev/null || true
+fi
+
## START BRANCHLESS CONFIG
git branchless hook post-checkout "$@"