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
This commit is contained in:
@ -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) &&
|
||||
|
Reference in New Issue
Block a user