Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-07-25 22:05:23 +0300
committerJunio C Hamano <gitster@pobox.com>2023-07-25 22:05:23 +0300
commit88d08c342af961c5fb57d7ea5f51233770f06639 (patch)
treedcc44c2f7942f3ab7e16126d986c9d6c799eaaf4 /wt-status.c
parente43f4fd0bd864e0472dd4285190d411f4342e8d8 (diff)
parentc577d65158aa78817a59a58649bb381f2daaa88d (diff)
Merge branch 'ah/advise-force-pushing'
Help newbies by suggesting that there are cases where force-pushing is a valid and sensible thing to update a branch at a remote repository, rather than reconciling with merge/rebase. * ah/advise-force-pushing: push: don't imply that integration is always required before pushing remote: don't imply that integration is always required before pushing wt-status: don't show divergence advice when committing
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wt-status.c b/wt-status.c
index 8a1a4fb1f0..5b1378965c 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -1186,7 +1186,8 @@ static void wt_longstatus_print_tracking(struct wt_status *s)
t_begin = getnanotime();
- if (!format_tracking_info(branch, &sb, s->ahead_behind_flags))
+ if (!format_tracking_info(branch, &sb, s->ahead_behind_flags,
+ !s->commit_template))
return;
if (advice_enabled(ADVICE_STATUS_AHEAD_BEHIND_WARNING) &&