mirror of
https://github.com/git/git.git
synced 2026-06-19 15:39:47 +02: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
Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
589 MiB
Languages
C
50.1%
Shell
39.4%
Perl
4.3%
Tcl
3.1%
Python
0.8%
Other
2.1%