Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 4/3] completion: quote completions we find

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:53

SZEDER Gábor [off-list ref] writes:
On Wed, Sep 26, 2012 at 05:57:00PM -0400, Jeff King wrote:
quoted
+		COMPREPLY[$i]="${COMPREPLY[$i]}$stripped"
This reminded me to a mini-series collecting dust in my git repo,
which converts a few similar var=$var$something constructs to use the
+= append operator instead.
Is the benefit of rewriting it to var+=$something large enough to
worry about the below?
Now, Bash supports this += append operator since v3.1
(bash-3.1-alpha1, to be exact), which is around since July 2005, if I
can trust the mtime at ftp://ftp.cwru.edu/pub/bash/.  MSysgit ships
v3.1 so it already supports this, too.  So, what is the oldest Bash
version we care about for completion?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help