Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2017-01-10 11:49:49 +0300
committerJunio C Hamano <gitster@pobox.com>2017-01-31 23:42:33 +0300
commit1a34728e6bb469083dd46ff35362fdfc6e489d07 (patch)
treec1c9b67be8b03ed190297a8dc54b70d34ffe71e2 /ref-filter.h
parent1a0ca5e358c1af14160e610e346c706e5dccf535 (diff)
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 'ref-filter.h')
0 files changed, 0 insertions, 0 deletions