On Tue, Jun 4, 2013 at 8:35 AM, Ramkumar Ramachandra <artagnon@xxxxxxxxx> wrote: > Introduce %(upstream:track) to display "[ahead M, behind N]" and > %(upstream:trackshort) to display "=", ">", "<", or "<>" > appropriately (inspired by the contrib/completion/git-prompt.sh). Bikeshedding: s/trackshort/trackbrief/ perhaps? > Now you can use the following format in for-each-ref: > > %C(green)%(refname:short)%C(reset)%(upstream:trackshort) > > to display refs with terse tracking information. > > Note that :track and :trackshort only works with upstream, and errors s/works/work/ s/errors/error/ > out when used with anything else. > > Signed-off-by: Ramkumar Ramachandra <artagnon@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html