diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-02-13 11:57:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-13 11:57:08 -0800 |
commit | 5cdd628c84d808feb6ec407b2ecd74dfea63f865 (patch) | |
tree | 1b0d628ab64a6d72aece27807cb8b8b0b2a4a6a3 /submodule.h | |
parent | builtin-for-each-ref.c: check if we need to peel onion while parsing the format (diff) | |
download | tgif-5cdd628c84d808feb6ec407b2ecd74dfea63f865.tar.xz |
for-each-ref --format='%(symref) %(symref:short)'
New %(symref) output atom expands to the name of the ref a symbolic ref
points at, or an empty string if the ref being shown is not a symref.
This may help scripted Porcelain writers.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
0 files changed, 0 insertions, 0 deletions