aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/setup.sh
diff options
context:
space:
mode:
authorRobin Windey <ro.windey@gmail.com>2023-08-27 15:33:01 +0000
committerGitHub <noreply@github.com>2023-10-13 16:18:57 +0000
commit9dd158b70de7d6c962d58d06268125932cab5075 (patch)
treed138f6ff343ce80bbd698e2a943e016a81e60175 /.devcontainer/setup.sh
parentcdc2f38a511a2665951f6eb8056d6077f70151ed (diff)
downloadnextcloud-server-9dd158b70de7d6c962d58d06268125932cab5075.tar.gz
nextcloud-server-9dd158b70de7d6c962d58d06268125932cab5075.zip
Devcontainer: move git setup to postStartCommand
* postCreateCommand is executed too early * If git config commands run in postCreate, a global .gitconfig will be created * Copy of local .gitconfig will be skipped if .gitconfig already exists in container * Move to later stage * https://github.com/devcontainers/cli/issues/98 * https://github.com/microsoft/vscode-remote-release/issues/4855#issuecomment-831920085 Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to '.devcontainer/setup.sh')
-rwxr-xr-x.devcontainer/setup.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh
index 3485d4f7257..11bee7175b7 100755
--- a/.devcontainer/setup.sh
+++ b/.devcontainer/setup.sh
@@ -3,10 +3,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
cd $DIR/
-# Set git safe.directory
-git config --global --add safe.directory /var/www/html
-git config --global --add safe.directory /var/www/html/3rdparty
-
git submodule update --init
# Codespace config