mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
fix(upstream): preserve selected refs in companion commands (#591)
* fix(upstream): preserve selected refs in companion commands * fix(upstream): quote companion command arguments * docs(changelog): record fix for #591
This commit is contained in:
1 parent
239dad775b
commit
5a29fdc711
4 files changed
+76
-5
No files matched your search
@@ -15,6 +15,7 @@ from __future__ import annotations
|
||||
import argparse
|
||||
import os
|
||||
import re
|
||||
import shlex
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
@@ -189,7 +190,7 @@ def main() -> int:
|
||||
# answers "which upstream commits deserve review". Point at the companion.
|
||||
print(
|
||||
f"\nFor commit-level triage of upstream commits, run: "
|
||||
f"python3 tools/upstream_triage.py --remote {remote}"
|
||||
f"python3 tools/upstream_triage.py --remote {shlex.quote(remote)} --branch {shlex.quote(args.branch)}"
|
||||
)
|
||||
return 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user