mirror of
https://github.com/git/git.git
synced 2026-02-07 08:15:23 +00:00
0712284aeb4714523dcb54dc45ec945451c3d4a1
In large repos, the recursion implementation of contains(commit, commit_list) may result in a stack overflow. Replace the recursion with a loop to fix it. This problem is more apparent on Windows than on Linux, where the stack is more limited by default. See also this thread on the msysGit list: https://groups.google.com/d/topic/msysgit/FqT6boJrb2g/discussion [jes: re-written to imitate the original recursion more closely] Signed-off-by: Jean-Jacques Lafay <jeanjacques.lafay@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Tested-by: Stepan Kasal <kasal@ucw.cz>
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Git for Windows
This is the source code of Git for Windows, forked from Git.
If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and encourage others to work on by tipping via .
Description
Languages
C
50.5%
Shell
38.8%
Perl
4.4%
Tcl
3.2%
Python
0.8%
Other
2.1%