summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.6.0.2.txt
diff options
context:
space:
mode:
authorLibravatar Karthik Nayak <karthik.188@gmail.com>2017-01-10 14:19:47 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 12:44:31 -0800
commit3a42980f9e5ecc2b74c538109d4007c630881f1c (patch)
treef02610e5d0e5e981003ccf67c317c63947b62bd0 /Documentation/RelNotes/1.6.0.2.txt
parentref-filter: rename the 'strip' option to 'lstrip' (diff)
downloadtgif-3a42980f9e5ecc2b74c538109d4007c630881f1c.tar.xz
ref-filter: Do not abruptly die when using the 'lstrip=<N>' option
Currently when we use the 'lstrip=<N>' option, if 'N' is greater than the number of components available in the refname, we abruptly end program execution by calling die(). This behavior is undesired since a single refname with few components could end program execution. To avoid this, return an empty string whenever the value 'N' is greater than the number of components available, instead of calling die(). Signed-off-by: Karthik Nayak <Karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.6.0.2.txt')
0 files changed, 0 insertions, 0 deletions