From da24a3fcef7416879221c9608f62fca78e7f176b Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Tue, 2 Jul 2024 00:56:20 +0200 Subject: [PATCH] relative submodules --- .gitmodules | 4 ++-- derename.sh | 11 ----------- src/be/nikiroo/utils | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100755 derename.sh diff --git a/.gitmodules b/.gitmodules index 3b78845..c48e253 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,8 +1,8 @@ [submodule "src/be/nikiroo/fanfix"] path = src/be/nikiroo/fanfix - url = git@github.com:nikiroo/fanfix.git + url = ../fanfix branch = subtree [submodule "src/be/nikiroo/utils"] path = src/be/nikiroo/utils - url = git@github.com:nikiroo/nikiroo-utils.git + url = ../nikiroo-utils branch = subtree diff --git a/derename.sh b/derename.sh deleted file mode 100755 index 6c8cbff..0000000 --- a/derename.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -git status | grep renamed: | sed 's/[^:]*: *\([^>]*\) -> \(.*\)/\1>\2/g' | while read -r ln; do - old="`echo "$ln" | cut -f1 -d'>'`" - new="`echo "$ln" | cut -f2 -d'>'`" - mkdir -p "`dirname "$old"`" - git mv "$new" "$old" - rmdir "`dirname "$new"`" 2>/dev/null - true -done - diff --git a/src/be/nikiroo/utils b/src/be/nikiroo/utils index 34835dd..f4a0214 160000 --- a/src/be/nikiroo/utils +++ b/src/be/nikiroo/utils @@ -1 +1 @@ -Subproject commit 34835dd204994ab0be1899848c4de2f9dde9f766 +Subproject commit f4a0214f28d0d5e150f7063cf3d36bf65c8dcc88 -- 2.27.0