On Wed, Dec 20, 2017 at 02:42:45PM +0000, Jeff Hostetler wrote:
> diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
> index ea029ad..9a2f209 100644
> --- a/Documentation/git-status.txt
> +++ b/Documentation/git-status.txt
> @@ -120,6 +120,9 @@ configuration variable documented in
> linkgit:git-config[1].
> +
> In short format with --branch, '[different]' will printed rather
> than detailed ahead/behind counts.
> ++
> + In long (normal) format, a simple out of date message will be
> + printed rather than detailed ahead/behind counts.
Same asciidoc trickery here as in the first patch (and in the --short
one, too, but I forgot to mention it).
> + } else if (no_ahead_behind) {
> + strbuf_addf(sb, _("Your branch is out of date with '%s'.\n"),
> + base);
> +
> + /* TODO Do we need a generic hint here? */
> +
I'm not sure what we'd advise here. I'd consider:
git log --oneline --graph HEAD..@{upstream}
to see the actual differences, but that's a bit verbose. Is there an
easy way to re-enable it? I guess repeating the command with
"--ahead-behind" should do so.
-Peff