Description: delete all related git 
 docker-ce (5:20.10.3-4) buster; urgency=low
 .
   * Version: 20.10.3-4
Author: wanghuaiqing <wanghuaiqing@loongson.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2021-03-10

--- docker-ce-20.10.3.orig/sources/engine/hack/make.sh
+++ docker-ce-20.10.3/sources/engine/hack/make.sh
@@ -40,29 +40,6 @@ DEFAULT_BUNDLES=(
 )
 
 VERSION=${VERSION:-dev}
-! BUILDTIME=$(date -u -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}" --rfc-3339 ns 2> /dev/null | sed -e 's/ /T/')
-if [ "$DOCKER_GITCOMMIT" ]; then
-	GITCOMMIT="$DOCKER_GITCOMMIT"
-elif command -v git &> /dev/null && [ -e .git ] && git rev-parse &> /dev/null; then
-	GITCOMMIT=$(git rev-parse --short HEAD)
-	if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
-		GITCOMMIT="$GITCOMMIT-unsupported"
-		echo "#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
-		echo "# GITCOMMIT = $GITCOMMIT"
-		echo "# The version you are building is listed as unsupported because"
-		echo "# there are some files in the git repository that are in an uncommitted state."
-		echo "# Commit these changes, or add to .gitignore to remove the -unsupported from the version."
-		echo "# Here is the current list:"
-		git status --porcelain --untracked-files=no
-		echo "#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
-	fi
-else
-	echo >&2 'error: .git directory missing and DOCKER_GITCOMMIT not specified'
-	echo >&2 '  Please either build with the .git directory accessible, or specify the'
-	echo >&2 '  exact (--short) commit hash you are building using DOCKER_GITCOMMIT for'
-	echo >&2 '  future accountability in diagnosing build issues.  Thanks!'
-	exit 1
-fi
 
 if [ "$AUTO_GOPATH" ]; then
 	rm -rf .gopath
