代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/git-lfs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
--- Makefile.orig 2024-11-21 07:04:33
+++ Makefile 2025-01-14 17:39:55
@@ -28,7 +28,7 @@
# BUILTIN_LD_FLAGS are the internal flags used to pass to the linker. By default
# the config.GitCommit variable is always set via this variable, and
# DWARF-stripping is enabled unless DWARF=YesPlease.
-BUILTIN_LD_FLAGS =
+BUILTIN_LD_FLAGS = "-linkmode=external"
ifneq ("$(VENDOR)","")
BUILTIN_LD_FLAGS += -X 'github.com/git-lfs/git-lfs/v3/config.Vendor=$(VENDOR)'
endif
@@ -202,8 +202,8 @@
#
# It uses BUILD_MAIN as defined above to specify the entrypoint for building Git
# LFS.
-BUILD = GOOS=$(1) GOARCH=$(2) \
- $(GO) build \
+BUILD = GO111MODULE=on GOOS=$(1) GOARCH=$(2) \
+ $(GO) build -mod=vendor \
-ldflags="$(LD_FLAGS)" \
-gcflags="$(GC_FLAGS)" \
-trimpath \
@@ -237,7 +237,7 @@
# 'commands' of Git LFS. It depends upon the contents of the 'docs' directory
# and converts those manpages into code.
commands/mancontent_gen.go : $(wildcard docs/man/*.adoc)
- GOOS= GOARCH= $(GO) generate github.com/git-lfs/git-lfs/v3/commands
+ @echo "delete this step"
# trgen is a shorthand for ensuring that tr/tr_gen.go is kept up-to-date with
# the contents of po/build/*.mo.
@@ -248,7 +248,7 @@
# 'tr' of Git LFS. It depends upon the contents of the 'po' directory
# and converts the .mo files.
tr/tr_gen.go : $(MO)
- GOOS= GOARCH= $(GO) generate github.com/git-lfs/git-lfs/v3/tr
+ @echo "delete this step"
po/build:
mkdir -p po/build
@@ -628,7 +628,7 @@
.PHONY : fmt
ifeq ($(shell test -x "`command -v $(GOIMPORTS)`"; echo $$?),0)
fmt : $(SOURCES) | lint
- @$(GOIMPORTS) $(GOIMPORTS_EXTRA_OPTS) $?;
+ @echo "delete this step"
else
fmt : $(SOURCES) | lint
@echo "git-lfs: skipping fmt, no goimports found at \`$(GOIMPORTS)\` ..."
@@ -638,13 +638,7 @@
# are vendored in via vendor (see: above).
.PHONY : lint
lint : $(SOURCES)
- @! $(GO) list -f '{{ join .Deps "\n" }}' . \
- | $(XARGS) $(GO) list -f \
- '{{ if and (not .Standard) (not .Module) }} \
- {{ .ImportPath }} \
- {{ end }}' \
- | $(GREP) -v "github.com/git-lfs/git-lfs" \
- | $(GREP) "."
+ @echo "delete this step"
# MAN_ROFF_TARGETS is a list of all ROFF-style targets in the man pages.
MAN_ROFF_TARGETS = man/man1/git-lfs-checkout.1 \
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。