diff options
author | Jeff King <peff@peff.net> | 2013-04-02 15:05:12 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-02 16:14:13 -0700 |
commit | caa2036b3b4105bfe34f01115e4fb34b78a4db86 (patch) | |
tree | e2a550e4a13ce962cce354347fc890be9b36eb80 /advice.h | |
parent | 1a15d00bb910de0a86981f0d75836feac71d1fe0 (diff) | |
download | git-caa2036b3b4105bfe34f01115e4fb34b78a4db86.tar.gz |
branch: give advice when tracking start-point is missing
If the user requests to --set-upstream-to a branch that does
not exist, then either:
1. It was a typo.
2. They thought the branch should exist.
In case (1), there is not much we can do beyond showing the
name we tried to use. For case (2), though, we can help to
guide them through common workflows.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
-rw-r--r-- | advice.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ extern int advice_commit_before_merge; extern int advice_resolve_conflict; extern int advice_implicit_identity; extern int advice_detached_head; +extern int advice_set_upstream_failure; int git_default_advice_config(const char *var, const char *value); void advise(const char *advice, ...); |