mirror of
https://github.com/git/git.git
synced 2026-08-11 01:27:52 +00:00
28bf928cf81eec720bc8a31179a0c9cf688d5af3
If a variable reference to a field is to an array, and it is the only reference to that field in that method we cannot make it an inlined [set foo] call as the regexp was converting the Tcl code wrong. We were producing "[set foo](x)" for "$foo(x)", and that isn't valid Tcl when foo is an array. So we just punt if the only occurance has a ( after it. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Description
Languages
C
49.9%
Shell
39.5%
Perl
4.3%
Tcl
3%
Python
0.8%
Other
2.2%