summaryrefslogtreecommitdiff
path: root/perl/Git/SVN/Memoize
diff options
context:
space:
mode:
authorLibravatar Karthik Nayak <karthik.188@gmail.com>2017-01-10 14:19:37 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 12:44:31 -0800
commit42d0eb05eed8e6c66d93091f5b0ece3a1872246c (patch)
treebd774d33a030737f8f0fd8c9eb6f7b2f5f148be8 /perl/Git/SVN/Memoize
parentref-filter: implement %(if:equals=<string>) and %(if:notequals=<string>) (diff)
downloadtgif-42d0eb05eed8e6c66d93091f5b0ece3a1872246c.tar.xz
ref-filter: modify "%(objectname:short)" to take length
Add support for %(objectname:short=<length>) which would print the abbreviated unique objectname of given length. When no length is specified, the length is 'DEFAULT_ABBREV'. The minimum length is 'MINIMUM_ABBREV'. The length may be exceeded to ensure that the provided object name is unique. Add tests and documentation for the same. Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Helped-by: Jacob Keller <jacob.keller@gmail.com> Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl/Git/SVN/Memoize')
0 files changed, 0 insertions, 0 deletions