From 0ce39682c5d7eb6bf40f43a4e378d712bbc247eb Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 8 May 2026 21:18:15 +0700 Subject: [PATCH] Fix push command not respecting ignore rule --- mk/repo.mk | 2 +- src/bin/repo.rs | 46 +++++++++++++++++++--------------------------- 2 files changed, 20 insertions(+), 28 deletions(-) diff --git a/mk/repo.mk b/mk/repo.mk index e2e4ae44..7a2a9522 100644 --- a/mk/repo.mk +++ b/mk/repo.mk @@ -124,7 +124,7 @@ endif ifeq ($(PODMAN_BUILD),1) $(PODMAN_RUN) make $@ ALLOW_FSTOOLS=$(FSTOOLS_IN_PODMAN) else - $(REPO_BIN) push $(foreach f,$(subst $(comma), ,$*),$(f)) "--sysroot=$(MOUNT_DIR)" + $(REPO_BIN) push $(foreach f,$(subst $(comma), ,$*),$(f)) "--sysroot=$(MOUNT_DIR)" $(COOKBOOK_OPTS) endif ifeq ($(ALLOW_FSTOOLS),1) @if [ -f $(MOUNTED_TAG) ]; then \ diff --git a/src/bin/repo.rs b/src/bin/repo.rs index 7983ef01..e8a85a94 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -567,7 +567,7 @@ fn parse_args(args: Vec) -> Result<(CliConfig, CliCommand, Vec) -> Result<(CliConfig, CliCommand, Vec) -> Result<(CliConfig, CliCommand, Vec