Fix incorrect repo path

This commit is contained in:
Manuel Thalmann 2024-12-04 19:06:32 +01:00
parent 09ec143d68
commit 254504f91b

View file

@ -1,7 +1,7 @@
#!/bin/env fish #!/bin/env fish
begin begin
set -l target "$argv[1]" set -l target "$argv[1]"
set -l dir "$(status dirname)/.." set -l dir "$(status dirname)/../.."
git clone "$dir" "$target" git clone "$dir" "$target"
cp "$dir/.git/config" "$target/.git/config" cp "$dir/.git/config" "$target/.git/config"
git -C "$dir" diff HEAD | git -C "$target" apply --allow-empty &>/dev/null git -C "$dir" diff HEAD | git -C "$target" apply --allow-empty &>/dev/null