From d21ee0f750b2effd201a9415f5b2543f24dd2136 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 18 Nov 2024 16:45:21 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Cleaner=20mfconfig=20commit=20messa?= =?UTF-8?q?ges?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/mfconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mfconfig b/bin/mfconfig index 2dc739357e1..ba9581d3db7 100755 --- a/bin/mfconfig +++ b/bin/mfconfig @@ -84,7 +84,7 @@ def git(etc): def branch(): return git(["rev-parse", "--abbrev-ref", "HEAD"]) # git add . ; git commit -m ... -def commit(msg, who="."): git(["add", who]) ; return git(["commit", "-m", f'"{msg}"']) +def commit(msg, who="."): git(["add", who]) ; return git(["commit", "-m", msg]) # git checkout ... def checkout(etc): return git(["checkout"] + ([etc] if isinstance(etc, str) else etc)) @@ -181,7 +181,7 @@ if ACTION == "init": # Create a fresh 'WORK' as a copy of 'init-repo' (README, LICENSE, etc.) if not CI: gitbd("WORK") REMOTE = "origin" if CI else "upstream" - checkout([f"{REMOTE}/init-repo", "-b", "WORK"]) + checkout(["--no-track", f"{REMOTE}/init-repo", "-b", "WORK"]) # Copy default configurations into the repo info("Create configs in default state...")