diff options
author | Jeff King <peff@peff.net> | 2015-05-21 00:45:55 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-22 09:33:09 -0700 |
commit | 29bc88505f22068d7ee6694240e6b13fddb5d059 (patch) | |
tree | a55a77a4756632a07aa634bc1c1ce7a8f79fb256 /builtin/branch.c | |
parent | for-each-ref: use skip_prefix instead of starts_with (diff) | |
download | tgif-29bc88505f22068d7ee6694240e6b13fddb5d059.tar.xz |
for-each-ref: accept "%(push)" format
Just as we have "%(upstream)" to report the "@{upstream}"
for each ref, this patch adds "%(push)" to match "@{push}".
It supports the same tracking format modifiers as upstream
(because you may want to know, for example, which branches
have commits to push).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/branch.c')
0 files changed, 0 insertions, 0 deletions