diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2017-01-10 14:19:49 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-31 12:42:33 -0800 |
commit | 1a34728e6bb469083dd46ff35362fdfc6e489d07 (patch) | |
tree | c1c9b67be8b03ed190297a8dc54b70d34ffe71e2 /Documentation/RelNotes/1.8.5.6.txt | |
parent | ref-filter: modify the 'lstrip=<N>' option to work with negative '<N>' (diff) | |
download | tgif-1a34728e6bb469083dd46ff35362fdfc6e489d07.tar.xz |
ref-filter: add an 'rstrip=<N>' option to atoms which deal with refnames
Complimenting the existing 'lstrip=<N>' option, add an 'rstrip=<N>'
option which strips `<N>` slash-separated path components from the end
of the refname (e.g., `%(refname:rstrip=2)` turns `refs/tags/foo` into
`refs`).
Signed-off-by: Karthik Nayak <Karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.8.5.6.txt')
0 files changed, 0 insertions, 0 deletions