summaryrefslogtreecommitdiffstats
path: root/pretty.h
diff options
context:
space:
mode:
authorHariom Verma <hariom18599@gmail.com>2020-08-21 23:41:48 +0200
committerJunio C Hamano <gitster@pobox.com>2020-08-28 22:52:50 +0200
commit26bc0aaf99147cdf2d29cb6d831dfa72ec94b61b (patch)
tree403861bc2ecaf7ae1070e60d4f90632b64ced335 /pretty.h
parentref-filter: add `short` modifier to 'tree' atom (diff)
downloadgit-26bc0aaf99147cdf2d29cb6d831dfa72ec94b61b.tar.xz
git-26bc0aaf99147cdf2d29cb6d831dfa72ec94b61b.zip
ref-filter: add `short` modifier to 'parent' atom
Sometimes while using 'parent' atom, user might want to see abbrev hash instead of full 40 character hash. Just like 'objectname', it might be convenient for users to have the `:short` and `:short=<length>` option for printing 'parent' hash. Let's introduce `short` option to 'parent' atom. Mentored-by: Christian Couder <chriscool@tuxfamily.org> Mentored-by: Heba Waly <heba.waly@gmail.com> Signed-off-by: Hariom Verma <hariom18599@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.h')
0 files changed, 0 insertions, 0 deletions