checkout & worktree: introduce checkout.defaultRemote
[gitweb.git] / advice.c
index 370a56d0546bb3fc7aa4a62203c600e9a8af2d7a..75e7dede90a6fe0ae201217f9cc6d2b619480296 100644 (file)
--- a/advice.c
+++ b/advice.c
@@ -21,6 +21,7 @@ int advice_add_embedded_repo = 1;
 int advice_ignored_hook = 1;
 int advice_waiting_for_editor = 1;
 int advice_graft_file_deprecated = 1;
+int advice_checkout_ambiguous_remote_branch_name = 1;
 
 static int advice_use_color = -1;
 static char advice_colors[][COLOR_MAXLEN] = {
@@ -72,6 +73,7 @@ static struct {
        { "ignoredhook", &advice_ignored_hook },
        { "waitingforeditor", &advice_waiting_for_editor },
        { "graftfiledeprecated", &advice_graft_file_deprecated },
+       { "checkoutambiguousremotebranchname", &advice_checkout_ambiguous_remote_branch_name },
 
        /* make this an alias for backward compatibility */
        { "pushnonfastforward", &advice_push_update_rejected }