diff options
author | Jeff King <peff@peff.net> | 2012-12-03 01:16:57 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-03 09:10:47 -0800 |
commit | 491e3075a29a0475984098a85cdbbb185d5a1e33 (patch) | |
tree | f8d5f8d54da44a04370533d128b412c63afcd3ec /test-run-command.c | |
parent | status: add advice on how to push/pull to tracking branch (diff) | |
download | tgif-491e3075a29a0475984098a85cdbbb185d5a1e33.tar.xz |
status: respect advice.statusHints for ahead/behind advice
If the user has unset advice.statusHints, we already
suppress the "use git reset to..." hints in each stanza. The
new "use git push to publish..." hint is the same type of
hint. Let's respect statusHints for it, rather than making
the user set yet another advice flag.
Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-run-command.c')
0 files changed, 0 insertions, 0 deletions