From 62b9266aa31b2baced3252987b256b4e43ec9573 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 23 Oct 2019 19:06:19 -0400 Subject: [PATCH] Removed --depth 1 from git clone invocation. That caused git describe in config/version.sh to fail. --- build_nmh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 build_nmh diff --git a/build_nmh b/build_nmh old mode 100755 new mode 100644 index 9dd924cb..4c2e2c27 --- a/build_nmh +++ b/build_nmh @@ -122,7 +122,7 @@ download_sources() { [ "$verbose" -eq 0 ] && git_opts=--quiet [ "$branch" = master ] || git_opts="${git_opts:+$git_opts }--branch $branch" - if "$gitdir"/git clone --depth 1 $git_opts "git://$gitrepo/nmh.git" >&3 + if "$gitdir"/git clone $git_opts "git://$gitrepo/nmh.git" >&3 then directory=nmh cd "$directory" || die "failed to clone $directory" -- 2.56.0