Fix Windows git commit ValueError: embedded null character.
Use git commit -F and strip NULs from argv/version strings (0.3.7). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-1
@@ -297,7 +297,9 @@ def cmd_push(args: argparse.Namespace) -> int:
|
||||
|
||||
message = args.message or (
|
||||
f"export_1c_help v{__version__}: sync help cfg {stats.config_version} "
|
||||
f"({stats.pages_written} pages, +{stats.created_count}/~{stats.edited_count}/-{stats.deleted_count})"
|
||||
f"({stats.pages_written} pages, "
|
||||
f"+{stats.created_count} ~{stats.edited_count} "
|
||||
f"={stats.unchanged_count} -{stats.deleted_count})"
|
||||
)
|
||||
try:
|
||||
if not (work / ".git").exists():
|
||||
|
||||
Reference in New Issue
Block a user