From 66b4fdb902561f7e56b772a47662fe7337a35a2a Mon Sep 17 00:00:00 2001 From: ducoterra Date: Mon, 1 Nov 2021 09:13:15 -0400 Subject: [PATCH] Ignore subtree pull failures Rather than potentially leaving the developer in a state where `git stash pop` wasn't run, ignore failures in git subtree and let the developer fix issues and re-run the command. This makes `make-update` more idempotent. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d431a5e..465cd3a 100644 --- a/Makefile +++ b/Makefile @@ -12,5 +12,5 @@ include .gitlab/make/truenas.makefile .PHONY: make-update make-update: @git stash - @git subtree pull --prefix .gitlab git@gitlab.ducoterra.net:services/common.git main --squash + -git subtree pull --prefix .gitlab git@gitlab.ducoterra.net:services/common.git main --squash @git stash pop