git: 5d2188800f7a - main - Makefile: Force to rebase when using make update

Sofian Brabez sbz at FreeBSD.org
Tue May 25 16:03:31 UTC 2021


The branch main has been updated by sbz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d2188800f7a37ba58adf1fa42cb8ad820067b3f

commit 5d2188800f7a37ba58adf1fa42cb8ad820067b3f
Author:     Sofian Brabez <sbz at FreeBSD.org>
AuthorDate: 2021-05-25 07:35:30 +0000
Commit:     Sofian Brabez <sbz at FreeBSD.org>
CommitDate: 2021-05-25 16:01:19 +0000

    Makefile: Force to rebase when using make update
    
    Approved by:    uqs
    Differential Revision:  https://reviews.freebsd.org/D30450
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3ca0ba4cabd3..ad4b13aec200 100644
--- a/Makefile
+++ b/Makefile
@@ -189,7 +189,7 @@ update:
 	@echo "--------------------------------------------------------------"
 	@echo ">>> Updating ${.CURDIR} from git repository"
 	@echo "--------------------------------------------------------------"
-	cd ${.CURDIR}; ${GIT} pull
+	cd ${.CURDIR}; ${GIT} pull --rebase
 .  endif
 .elif defined(RSYNC_UPDATE) && defined(PORTS_RSYNC_SOURCE)
 	@echo "--------------------------------------------------------------"


More information about the dev-commits-ports-all mailing list