summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-03-15 23:05:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2024-03-15 23:05:59 (GMT)
commitb09a8839a4a09ab5bea79bcfe892b2591097319a (patch)
treeaf4aacfc4fdedf2d58eeaba10b75b316e7b21130 /advice.h
parent4f9b731bdeccffa1b13e5edf4bc0428b8d49704e (diff)
parent8fbd903e58503cbdd1f1c816dd0c6c3c4d591b13 (diff)
downloadgit-b09a8839a4a09ab5bea79bcfe892b2591097319a.zip
git-b09a8839a4a09ab5bea79bcfe892b2591097319a.tar.gz
git-b09a8839a4a09ab5bea79bcfe892b2591097319a.tar.bz2
Merge branch 'kh/branch-ref-syntax-advice'
When git refuses to create a branch because the proposed branch name is not a valid refname, an advice message is given to refer the user to exact naming rules. * kh/branch-ref-syntax-advice: branch: advise about ref syntax rules advice: use double quotes for regular quoting advice: use backticks for verbatim advice: make all entries stylistically consistent t3200: improve test style
Diffstat (limited to 'advice.h')
-rw-r--r--advice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/advice.h b/advice.h
index 7d0a821..bf630ee 100644
--- a/advice.h
+++ b/advice.h
@@ -36,6 +36,7 @@ enum advice_type {
ADVICE_PUSH_UNQUALIFIED_REF_NAME,
ADVICE_PUSH_UPDATE_REJECTED,
ADVICE_PUSH_UPDATE_REJECTED_ALIAS,
+ ADVICE_REF_SYNTAX,
ADVICE_RESET_NO_REFRESH_WARNING,
ADVICE_RESOLVE_CONFLICT,
ADVICE_RM_HINTS,