allow disabling the automatic hint in advise_if_enabled()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 26 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | t/test-tool: usage descriptiont/ | +2 | 1 reply | |
| 2/3 | t/test-tool: handle -c <name>=<value> argumentst/ | +12 | 2 replies | |
| 3/3 | advice: allow disabling the automatic hint in advise_if_enabled()advice.c advice.h t/ | +12 | 20 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] allow disabling the automatic hint in advise_if_enabled()
Using advise_if_enabled() to display an advice will automatically include instructions on how to disable the advice, along with the main advice:
hint: use --reapply-cherry-picks to include skipped commits
hint: Disable this message with "git config advice.skippedCherryPicks false"
This may become distracting or "noisy" over time, while the user may still want to receive the main advice.
Let's have a switch to allow disabling this automatic advice.
Rubén Justo (3):
t/test-tool: usage description
t/test-tool: handle -c <name>=<value> arguments
advice: allow disabling the automatic hint in advise_if_enabled()
advice.c | 3 ++- advice.h | 3 ++- t/helper/test-tool.c | 15 +++++++++++++-- t/t0018-advice.sh | 8 ++++++++ 4 files changed, 25 insertions(+), 4 deletions(-)
Signature · 1 line
2.42.0