diff options
| author | Jonathan Bauer | 2020-05-13 18:41:26 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2020-05-13 18:41:26 +0200 |
| commit | b606e002fbaefeefc22c2e1224a1c980069f70b8 (patch) | |
| tree | 85ffdd2b0b36335fda770699616c556aad4c1e83 | |
| parent | build-initramfs.sh: formatting (diff) | |
| download | systemd-init-b606e002fbaefeefc22c2e1224a1c980069f70b8.tar.gz systemd-init-b606e002fbaefeefc22c2e1224a1c980069f70b8.tar.xz systemd-init-b606e002fbaefeefc22c2e1224a1c980069f70b8.zip | |
build-initramfs.sh: --depth implies --single-branch
| -rwxr-xr-x | build-initramfs.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/build-initramfs.sh b/build-initramfs.sh index 115bae5c..74c95698 100755 --- a/build-initramfs.sh +++ b/build-initramfs.sh @@ -94,10 +94,7 @@ handler_git() { mkdir -p "$path" - local gitargs=( \ - "--depth" "1" \ - "--single-branch" \ - ) + local gitargs=("--depth" "1") if [ -n "$branch" ]; then gitargs+=("--branch" "$branch") fi |
